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

Justin Lu jlu at openjdk.org
Wed Jul 23 16:50:56 UTC 2025


On Tue, 22 Jul 2025 22:25:33 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:
> 
>   Obsolete comment correction

src/java.base/share/classes/java/util/Locale.java line 534:

> 532:  * their earlier, obsoleted forms: {@code he} maps to {@code iw},
> 533:  * {@code yi} maps to {@code ji}, and {@code id} maps to
> 534:  * {@code in}. Since Java SE 17, this is no longer the case. Each

* <p>Locale's constructors have always converted three language codes to
 * their earlier, obsoleted forms: {@code he} maps to {@code iw},
 * {@code yi} maps to {@code ji}, and {@code id} maps to
 * {@code in}. Since Java SE 17, this is no longer the case.


This history was relevant when the property existed. Since this is no longer the case, and we're quite a few releases away from 17, can we also remove this wording as well. Users on 26 should only be concerned with the "old" to "modern" mapping.

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

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


More information about the i18n-dev mailing list