<i18n dev> [10] RFR 8180469: Wrong short form text for supplemental Japanese era

Mitsuru Matsushima m-matsushima at bk.jp.nec.com
Fri Sep 1 02:34:30 UTC 2017


Hi Naoto-san,

The fix looks good, though I'm not a reviewer...
 
By the way, I may have forgotten to inform you that there exist an issue at the short form of SimpleDateFormat has an issue.

The SimpleDateFormat class is only capable to treat two form, Short and Long.
At JDK9, the CLDR Provider become to default, the provider returns the same value for the Short form and the Long form.
So, the behavior of SimpleDateFormat is incompatible to previous versions.
(See the Comparison table, I described before.)

---
Mitsuru

> -----Original Message-----
> From: i18n-dev [mailto:i18n-dev-bounces at openjdk.java.net] On Behalf Of Naoto Sato
> Sent: Thursday, August 31, 2017 7:56 AM
> To: core-libs-dev <core-libs-dev at openjdk.java.net>; i18n-dev <i18n-dev at openjdk.java.net>
> Subject: <i18n dev> [10] RFR 8180469: Wrong short form text for supplemental Japanese era
> 
> Hi,
> 
> Please review the fix to the following issue:
> 
> https://bugs.openjdk.java.net/browse/JDK-8180469
> 
> The proposed changeset is located at:
> 
> http://cr.openjdk.java.net/~naoto/8180469/webrev.00/
> 
> The problem was caused by the difference of the Era display name for "SHORT" style between java.time and java.util.Calendar.
> 
> Naoto


More information about the core-libs-dev mailing list