<i18n dev> RFR: 8342582: user.region for formatting number no longer works for 21.0.5 [v3]
Naoto Sato
naoto at openjdk.org
Tue Oct 22 22:47:05 UTC 2024
On Tue, 22 Oct 2024 22:17:11 GMT, Naoto Sato <naoto at openjdk.org> wrote:
>> This is a regression caused by the fix to [JDK-8321206](https://bugs.openjdk.org/browse/JDK-8321206), where the default locale with `user.region` creation is inadvertently broken. Fix is to restore the user.region override within StaticProperty initialization.
>
> Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
>
> Corrected wrong assumption in the test
In fact, those locale related system properties were not described anywhere before https://bugs.openjdk.org/browse/JDK-8320919, which is quite recent. I think we can deprecate `user.region` (I believe which predates `user.country` and `user.variant`), but actually I was surprised by the fact that this was reported by a customer. So we might want to keep it.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21645#issuecomment-2430452740
More information about the i18n-dev
mailing list