<i18n dev> Integrated: 8321206: Make Locale related system properties `StaticProperty`

Naoto Sato naoto at openjdk.org
Fri Dec 8 18:50:29 UTC 2023


On Tue, 5 Dec 2023 23:04:55 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> Currently, Locale-related system properties, such as `user.language` or `user.country`, are initialized when the `Locale` class is loaded. Making them static properties is safer than relying on the `Locale` class loading timing, which could potentially be changed depending on the implementation.

This pull request has now been integrated.

Changeset: 0c178beb
Author:    Naoto Sato <naoto at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/0c178beb69c4c5fc3e92621340748e42d017d458
Stats:     69 lines in 3 files changed: 49 ins; 7 del; 13 mod

8321206: Make Locale related system properties `StaticProperty`

Reviewed-by: rriggs

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

PR: https://git.openjdk.org/jdk/pull/16986


More information about the i18n-dev mailing list