Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8304982 Emit warning for removal of `COMPAT` provider
  3. JDK-8305487

Release Note: Emit Warning for Removal of `COMPAT` Provider

    XMLWordPrintable

Details

    Description

      Users now see a warning message if they specify either `COMPAT` or `JRE` locale data with the `java.locale.providers` system property and call some locale-sensitive operations. `COMPAT` was provided for migration to the `CLDR` locale data at the time of JDK 9, where it became the default locale data ([JEP 252](https://openjdk.org/jeps/252)). JDK 21 retains the legacy locale data of JDK 8 for compatibility, but some of the newer functionalities are not applied. The legacy locale data will be removed in a future release. Users are encouraged to migrate to the `CLDR` locale data.

      Attachments

        Activity

          People

            naoto Naoto Sato
            naoto Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: