<i18n dev> RFR: 8342582: user.region for formatting number no longer works for 21.0.5 [v3]
Niklas Keller
duke at openjdk.org
Wed Oct 30 12:02:13 UTC 2024
On Tue, 22 Oct 2024 22:44:56 GMT, Naoto Sato <naoto at openjdk.org> wrote:
> 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.
There are various resources on the Internet mentioning `user.region`, most are rather old, such as https://stackoverflow.com/a/17884918/2373138. In our case (I'm the original reporter), this property check is present since at least 2010, but it only checked `user.region`, not `user.country` (like it probably should have the whole time).
Deprecation sounds reasonable to me.
Will this get a backport to 21.0.6?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21645#issuecomment-2446593909
More information about the i18n-dev
mailing list