On Tue, 22 Oct 2024 22:44:56 GMT, Naoto Sato <na...@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