<i18n dev> [9] RFR: 8048123: Replace calendars.properties with another mechanism to specify a new Japanese calendar era

Stephen Colebourne scolebourne at joda.org
Tue Jul 22 13:33:59 UTC 2014

A Japanese Emperor might only reign for one day or one week, which is
far less time than a JDK update. It seems to me that one additional
era is quite a risk to be baking into the JDK.


On 22 July 2014 09:05, Masayoshi Okutsu <masayoshi.okutsu at oracle.com> wrote:
> The assumption here is that it's enough to support one additional era until
> the era is added to the built-in eras in update releases.
> Masayoshi
> On 7/22/2014 4:52 PM, Stephen Colebourne wrote:
>> It seems that the system property only supports one additional era.
>> Given that Japanese eras are based on human lifetimes, that seems an
>> invalid assumption.
>> Stephen
>> On 22 July 2014 08:06, Masayoshi Okutsu <masayoshi.okutsu at oracle.com>
>> wrote:
>>> Hello,
>>> Please review the change for JDK-8048123. This change removes all the era
>>> definitions in ${java.home}/lib/calendars.properties. (The property file
>>> will eventually be gone later.) The major change is that any new era of
>>> the
>>> Japanese calendar should now be defined using new property
>>> "jdk.calendar.japanese.supplemental.era".
>>> https://bugs.openjdk.java.net/browse/JDK-8048123
>>> Webrev includes some unrelated cleanups.
>>> http://cr.openjdk.java.net/~okutsu/9/8048123/webrev.00/
>>> Thanks,
>>> Masayoshi

More information about the i18n-dev mailing list