--- 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.");