<i18n dev> RFR: 8287868: Localized names update in COMPAT locale provider

Naoto Sato naoto at openjdk.java.net
Fri Jun 10 21:05:42 UTC 2022

As the name suggests, `COMPAT` locale provider keeps compatibility with JDK8's locale data (before CLDR).  This is useful for legacy applications, but some of its data got obsolete for later locale data updates, such as the country name change for `Eswatini` (formerly known as `Swaziland`). This PR is to fix those names up-to-date from CLDR. More specifically, changes are made for `language`, `country`, `script` display names in `Locale` class, and `Currency` display names. Localized names used for `TimeZone`s and `Currency` symbols (such as `$`) are not modified so that `format`/`parse` should work as with JDK8.


Commit messages:
 - 8287868: Localized names update in COMPAT locale provider

Changes: https://git.openjdk.org/jdk/pull/9134/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=9134&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8287868
  Stats: 9930 lines in 65 files changed: 17 ins; 7 del; 9906 mod
  Patch: https://git.openjdk.org/jdk/pull/9134.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9134/head:pull/9134

PR: https://git.openjdk.org/jdk/pull/9134

More information about the i18n-dev mailing list