<i18n dev> RFR: 8355522: Remove the `java.locale.useOldISOCodes` system property [v2]

Justin Lu jlu at openjdk.org
Tue Jul 22 22:11:55 UTC 2025


On Tue, 22 Jul 2025 22:01:10 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> This PR removes the system property deprecated in JDK 25. If the property is specified at runtime, a warning will be emitted at startup to inform the user that the value is ignored. A corresponding CSR has been drafted as well
>
> Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Reflects review comments

src/java.base/share/classes/sun/util/locale/BaseLocale.java line 181:

> 179:     }
> 180: 
> 181:     public static String convertOldISOCodes(String language) {

It was there before this change, but above on line 166 I think we should update the outdated comment,

> // JDK uses deprecated ISO639.1 language codes for he, yi and id

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26419#discussion_r2223920817


More information about the i18n-dev mailing list