On Tue, 7 Jul 2026 23:21:16 GMT, Naoto Sato <[email protected]> wrote:
> The `LocaleData` class currently hard-codes the set of locales whose resource > bundles reside in the `java.base` module. This change generates that set at > build time from the CLDR source XML for the CLDR locale provider. Other > locale providers now provide the appropriate set based on their own resource > bundles. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: a230a609 Author: Naoto Sato <[email protected]> URL: https://git.openjdk.org/jdk/commit/a230a6099e2ec1b2f8f35515964c8ccb7c1523ec Stats: 73 lines in 5 files changed: 56 ins; 7 del; 10 mod 8387795: Remove hard coded set of locales in LocaleData Reviewed-by: jlu ------------- PR: https://git.openjdk.org/jdk/pull/31822
