8015960: java/util/Locale/LocaleProviders.java failing again on Windows

Reviewed-by: alanb
This commit is contained in:
Naoto Sato 2013-06-11 11:18:02 -07:00
parent 6788137f6f
commit 2ea5ec5419

View File

@ -207,6 +207,7 @@ public class LocaleProviders {
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()