test/java/util/PluggableLocale/BreakIteratorProviderTest.java

Print this page
rev 6057 : imported patch 8001205.8001562

@@ -52,12 +52,11 @@
         objectValidityTest();
     }
 
     void availableLocalesTest() {
         Set<Locale> localesFromAPI = new HashSet<Locale>(availloc);
-        Set<Locale> localesExpected = new HashSet<Locale>(jreimplloc);
-        localesExpected.remove(Locale.ROOT);
+        Set<Locale> localesExpected = new HashSet<Locale>(jreloc);
         localesExpected.addAll(providerloc);
         if (localesFromAPI.equals(localesExpected)) {
             System.out.println("availableLocalesTest passed.");
         } else {
             throw new RuntimeException("availableLocalesTest failed");