On Thu, 5 Jun 2025 18:32:34 GMT, Justin Lu <j...@openjdk.org> wrote: >> src/java.base/share/classes/java/util/Locale.java line 2578: >> >>> 2576: return Set.of(LocaleISOData.ISO3166_3); >>> 2577: } >>> 2578: }); >> >> What about moving these four stable suppliers and `getISO2Table` to >> LocaleISOData to shrink size of Locale.java? > > I like this suggestion, we can also move `getISO3Code` in addition to those > you mentioned, and have all ISO resources and methods come from > LocaleISOData. @naotoj, would you be in favor of this?
I agree, that would be more straightforward. Thanks for the suggestion! ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/25646#discussion_r2129770483