8015960: java/util/Locale/LocaleProviders.java failing again on Windows
authornaoto
Tue, 11 Jun 2013 11:18:02 -0700
changeset 18162 25020bbe1dd5
parent 18161 d9558f046caa
child 18163 c0b32e884b70
8015960: java/util/Locale/LocaleProviders.java failing again on Windows Reviewed-by: alanb
jdk/test/java/util/Locale/LocaleProviders.java
--- a/jdk/test/java/util/Locale/LocaleProviders.java	Tue Jun 11 14:09:06 2013 +0100
+++ b/jdk/test/java/util/Locale/LocaleProviders.java	Tue Jun 11 11:18:02 2013 -0700
@@ -207,6 +207,7 @@
             String jreResult = "\u5e73\u6210 16.11.03 (\u6c34) \u5348\u524d 11:53:47";
             Locale l = new Locale("ja", "JP", "JP");
             SimpleDateFormat sdf = new SimpleDateFormat("GGGG yyyy.MMM.dd '('E')' a hh:mm:ss", l);
+            sdf.setTimeZone(TimeZone.getTimeZone("PST"));
             String result = sdf.format(sampleDate);
             System.out.println(result);
             if (LocaleProviderAdapter.getAdapterPreference()