RFR: 8287868: Localized names update in COMPAT locale provider [v3]

Iris Clark iris at openjdk.org
Tue Jun 21 17:19:20 UTC 2022


On Mon, 13 Jun 2022 22:58:43 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> 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.
>
> Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fixed some failing tests

Marked as reviewed by iris (Reviewer).

-------------

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


More information about the core-libs-dev mailing list