Please review java.util.formatter bug fix
roger riggs
roger.riggs at oracle.com
Tue Aug 13 19:06:32 UTC 2013
Hi,
The tests for java.util.Formatter were failing in the th_TH locale.
The test incorrectly relied on the locale defined calendar instantiation.
Java.util.formatter should be using YEAR_OF_ERA to extract the year
to get consistent results with the Japanese Calendar, for the other
calendars it does not change the values.
The tests are extended to explicitly test the Gregorian, Japanese, and
ThaiBuddist calendar formatting using both the Java.util.Calendar and
ChronoZonedDateTime calendars.
Webrev:
http://cr.openjdk.java.net/~rriggs/webrev-fixed-locale-8022193/
Thanks, Roger
More information about the core-libs-dev
mailing list