changeset 7371:cadb0ef6e931

8015960: java/util/Locale/LocaleProviders.java failing again on Windows Reviewed-by: alanb
author naoto
date Tue, 11 Jun 2013 11:18:02 -0700
parents f1a1f65d2861
children 7f697d028937
files test/java/util/Locale/LocaleProviders.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/util/Locale/LocaleProviders.java	Tue Jun 11 14:09:06 2013 +0100
+++ b/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()