<i18n dev> RFR: 8174269: Remove COMPAT locale data provider from JDK

Andrey Turbanov aturbanov at openjdk.org
Sat Feb 24 18:25:55 UTC 2024


On Fri, 23 Feb 2024 21:24:10 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> This PR intends to remove the legacy `COMPAT` locale data from the JDK. The `COMPAT` locale data was introduced for applications' migratory purposes transitioning to `CLDR`. It is becoming a technical debt and now is the time to remove it (we've been emitting a warning at JVM startup since JDK21, if the app is using `COMPAT`). A corresponding CSR has also been drafted.

make/jdk/src/classes/build/tools/cldrconverter/CLDRConverter.java line 768:

> 766:         var availableIds = getAvailableZoneIds();
> 767: 
> 768:         availableIds.stream().forEach(tzid -> {

Suggestion:

        availableIds.forEach(tzid -> {

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17991#discussion_r1501677693


More information about the i18n-dev mailing list