JDK-8325889 : Release Note: Removal of the Legacy Locale Data
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 23
  • Priority: P4
  • Status: Resolved
  • Resolution: Delivered
  • OS: generic
  • CPU: generic
  • Submitted: 2024-02-14
  • Updated: 2024-08-06
  • Resolved: 2024-04-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 23
23Resolved
Description
The legacy `JRE` locale data has been removed from the JDK. The legacy `JRE` locale data, `COMPAT` is an alias for this locale data, remained after the `CLDR` locale data based on the Unicode Consortium's [Common Locale Data Registry](https://cldr.unicode.org/) became the default with JDK 9 ([JEP252](https://openjdk.org/jeps/252)). The `JRE` locale data served as a tool to migrate applications for the time being.  Since JDK 21, users have been notified of its future removal with a startup warning message as the use of `JRE`/`COMPAT` locale data was deprecated. It is now removed from JDK 23, so specifying `JRE` or `COMPAT` in the `java.locale.providers` system property no longer has any effect. Applications using `JRE`/`COMPAT` locale data are encouraged to migrate to CLDR locale data or consider a workaround discussed in the [CSR](https://bugs.openjdk.org/browse/JDK-8325568). [JEP 252: Use CLDR Locale Data by Default](https://openjdk.org/jeps/252) has been updated with recommendations for developers impacted by the removal of this legacy locale data.