changeset 16226:8a0ce9899148

8170840: java/util/Locale/LocaleTest.java failed with "Uncaught exception thrown in test method TestGetLangsAndCountries" Reviewed-by: naoto
author rgoel
date Thu, 08 Dec 2016 12:35:18 +0530
parents c9785b0f04fd
children 7e27a1e6e339
files test/ProblemList.txt test/java/util/Locale/LocaleTest.java
diffstat 2 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/test/ProblemList.txt	Wed Dec 07 05:57:23 2016 -0800
+++ b/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/test/java/util/Locale/LocaleTest.java	Wed Dec 07 05:57:23 2016 -0800
+++ b/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;