8136518: java/util/TimeZone/CLDRDisplayNamesTest.java fails for de.
authornaoto
Thu, 24 Sep 2015 09:05:24 -0700
changeset 32772 dcf1f63aa63f
parent 32771 732bf1c40a25
child 32773 6fb58bd2c745
8136518: java/util/TimeZone/CLDRDisplayNamesTest.java fails for de. Reviewed-by: okutsu
jdk/test/java/util/TimeZone/CLDRDisplayNamesTest.java
--- a/jdk/test/java/util/TimeZone/CLDRDisplayNamesTest.java	Thu Sep 24 17:01:33 2015 +0100
+++ b/jdk/test/java/util/TimeZone/CLDRDisplayNamesTest.java	Thu Sep 24 09:05:24 2015 -0700
@@ -23,7 +23,7 @@
 
 /*
  * @test
- * @bug 8005471 8008577 8129881 8130845
+ * @bug 8005471 8008577 8129881 8130845 8136518
  * @run main/othervm -Djava.locale.providers=CLDR CLDRDisplayNamesTest
  * @summary Make sure that localized time zone names of CLDR are used
  * if specified.
@@ -93,7 +93,7 @@
 
         // for 8129881
         tz = TimeZone.getTimeZone("Europe/Vienna");
-        String name = tz.getDisplayName(false, SHORT);
+        String name = tz.getDisplayName(false, SHORT, Locale.ENGLISH);
         if (!"CET".equals(name)) {
             System.err.printf("error: got '%s' expected 'CET' %n", name);
             errors++;