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

src/java.base/share/classes/jdk/internal/util/StaticProperty.java line 104:

> 102:         USER_REGION = getProperty(props, "user.region", "");
> 103:         if (!USER_REGION.isEmpty()) {
> 104:             // region can be of form country, country_variant, or 
> _variant

typo "of form"? "region can be from"...

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21645#discussion_r1811465459

Reply via email to