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

Reply via email to