changeset 12800:b3d042c1c01b

8136518: java/util/TimeZone/CLDRDisplayNamesTest.java fails for de. Reviewed-by: okutsu
author naoto
date Thu, 24 Sep 2015 09:05:24 -0700
parents 0e0cb50613bb
children a831c364751d
files test/java/util/TimeZone/CLDRDisplayNamesTest.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/util/TimeZone/CLDRDisplayNamesTest.java	Thu Sep 24 17:01:33 2015 +0100
+++ b/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++;