RFR: [8u] JDK-8218781: Localized names for Japanese Era Reiwa in COMPAT provider

Andrew John Hughes gnu.andrew at redhat.com
Fri Jun 21 15:46:07 UTC 2019


Bug: https://bugs.openjdk.java.net/browse/JDK-8218781
Webrev: https://cr.openjdk.java.net/~andrew/openjdk8/8218781/webrev.01/

OpenJDK 8u uses an older version of the CLDR data to 9, and is thus
missing a number of locale data files updated by the original version of
8218781. Thus, some chunks are absent from the 8u backport.

In most cases, this actually makes no difference in testing, because the
locale data files for hr, in, lt, nl and sv simply duplicate the English
values. Thus, the only ones that fail the test are no (uses a short era
of "R") and sr_Latn ("Reiva").

I propose that we apply 8218781 for the locales we have now, and look at
backporting updated CLDR data for 8u232 or 8u242. The updates -
primarily JDK-8008577 - are tied up with configuration changes which we
don't want to import to 8, so a backport will require some work and
significant testing.

In short, please review this patch, taking into consideration that some
locales will be absent and that data is duplicated for others
(JDK-8159943, not in 8u, makes the short and long eras use a shared
variable where they are identical)

Thanks,
-- 
Andrew :)

Senior Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222
https://keybase.io/gnu_andrew



More information about the jdk8u-dev mailing list