8170840: java/util/Locale/LocaleTest.java failed with "Uncaught exception thrown in test method TestGetLangsAndCountries"
authorrgoel
Thu, 08 Dec 2016 12:35:18 +0530
changeset 42452 0e8cad55b816
parent 42451 105e4e99faea
child 42453 ba352752dea6
8170840: java/util/Locale/LocaleTest.java failed with "Uncaught exception thrown in test method TestGetLangsAndCountries" Reviewed-by: naoto
jdk/test/ProblemList.txt
jdk/test/java/util/Locale/LocaleTest.java
--- a/jdk/test/ProblemList.txt	Wed Dec 07 05:57:23 2016 -0800
+++ b/jdk/test/ProblemList.txt	Thu Dec 08 12:35:18 2016 +0530
@@ -291,7 +291,6 @@
 
 java/util/BitSet/BitSetStreamTest.java                          8079538 generic-all
 
-java/util/Locale/LocaleTest.java                                8170840 generic-all
 
 ############################################################################
 
--- a/jdk/test/java/util/Locale/LocaleTest.java	Wed Dec 07 05:57:23 2016 -0800
+++ b/jdk/test/java/util/Locale/LocaleTest.java	Thu Dec 08 12:35:18 2016 +0530
@@ -25,7 +25,7 @@
  * @bug 4052404 4052440 4084688 4092475 4101316 4105828 4107014 4107953 4110613
  * 4118587 4118595 4122371 4126371 4126880 4135316 4135752 4139504 4139940 4143951
  * 4147315 4147317 4147552 4335196 4778440 4940539 5010672 6475525 6544471 6627549
- * 6786276 7066203 7085757 8008577 8030696
+ * 6786276 7066203 7085757 8008577 8030696 8170840
  * @summary test Locales
  * @library /java/text/testlib
  * @modules jdk.localedata
@@ -489,8 +489,8 @@
         String[] spotCheck2 = {"US", "CA", "GB", "FR", "DE", "IT", "JP", "KR", "CN", "TW", "TH"};
 
 
-        if (test.length != 250) {
-            errln("Expected getISOCountries to return 250 countries; it returned " + test.length);
+        if (test.length != 249) {
+            errln("Expected getISOCountries to return 249 countries; it returned " + test.length);
         } else {
             for (int i = 0; i < spotCheck2.length; i++) {
                 int j;