test/java/util/PluggableLocale/GenericTest.java

Print this page
rev 6057 : imported patch 8001205.8001562

*** 71,81 **** expected.addAll(Arrays.asList(currencyNP.getAvailableLocales())); expected.addAll(Arrays.asList(currencyNP2.getAvailableLocales())); expected.addAll(Arrays.asList(localeNP.getAvailableLocales())); expected.addAll(Arrays.asList(tzNP.getAvailableLocales())); expected.addAll(Arrays.asList(calDataP.getAvailableLocales())); - expected.remove(Locale.ROOT); if (!result.equals(expected)) { throw new RuntimeException("Locale.getAvailableLocales() does not return the union of locales: diff=" + getDiff(result, expected)); } } --- 71,80 ----