--- a/jdk/src/share/classes/java/util/GregorianCalendar.java Mon Aug 23 14:14:52 2010 +0900
+++ b/jdk/src/share/classes/java/util/GregorianCalendar.java Tue Aug 31 11:27:10 2010 -0700
@@ -555,7 +555,7 @@
* in the default time zone with the default locale.
*/
public GregorianCalendar() {
- this(TimeZone.getDefaultRef(), Locale.getDefault());
+ this(TimeZone.getDefaultRef(), Locale.getDefault(Locale.Category.FORMAT));
setZoneShared(true);
}
@@ -566,7 +566,7 @@
* @param zone the given time zone.
*/
public GregorianCalendar(TimeZone zone) {
- this(zone, Locale.getDefault());
+ this(zone, Locale.getDefault(Locale.Category.FORMAT));
}
/**