8134520: Bug8134250 test fails in en_IE locale
authornaoto
Wed, 26 Aug 2015 10:44:37 -0700
changeset 32300 57dbcb7bb653
parent 32299 e5540d66dd2d
child 32301 5d48ae677b8f
8134520: Bug8134250 test fails in en_IE locale Reviewed-by: lancea
jdk/test/sun/util/resources/cldr/Bug8134250.java
--- a/jdk/test/sun/util/resources/cldr/Bug8134250.java	Wed Aug 26 06:48:33 2015 -0700
+++ b/jdk/test/sun/util/resources/cldr/Bug8134250.java	Wed Aug 26 10:44:37 2015 -0700
@@ -23,7 +23,7 @@
 
 /*
  * @test
- * @bug 8134250
+ * @bug 8134250 8134520
  * @summary Tests CLDR/LDML features are correctly reflected in JDK.
  * @run main/othervm -Djava.locale.providers=CLDR Bug8134250
  */
@@ -61,6 +61,7 @@
         Chronology chrono = Chronology.ofLocale(locale);
         dtf = DateTimeFormatter
             .ofLocalizedDate(FormatStyle.FULL)
+            .withLocale(locale)
             .withChronology(chrono);
         result = dtf.format(d);
         System.out.println(dtf.format(d));