jdk/test/java/util/PluggableLocale/DateFormatSymbolsProviderTest.java
changeset 14418 967376921f20
parent 14172 fad44417edf8
child 15260 7af2d7a87806
--- a/jdk/test/java/util/PluggableLocale/DateFormatSymbolsProviderTest.java	Wed Nov 07 16:07:54 2012 -0500
+++ b/jdk/test/java/util/PluggableLocale/DateFormatSymbolsProviderTest.java	Wed Nov 07 15:08:28 2012 -0800
@@ -48,9 +48,8 @@
     }
 
     void availableLocalesTest() {
-        Set<Locale> localesFromAPI = new HashSet<Locale>(availloc);
-        Set<Locale> localesExpected = new HashSet<Locale>(jreimplloc);
-        localesExpected.remove(Locale.ROOT);
+        Set<Locale> localesFromAPI = new HashSet<>(availloc);
+        Set<Locale> localesExpected = new HashSet<>(jreloc);
         localesExpected.addAll(providerloc);
         if (localesFromAPI.equals(localesExpected)) {
             System.out.println("availableLocalesTest passed.");