RFR: 8321206: Make Locale related system properties `StaticProperty` [v2]
Naoto Sato
naoto at openjdk.org
Fri Dec 8 18:50:28 UTC 2023
On Wed, 6 Dec 2023 20:55:48 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.
>
> Naoto Sato has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
>
> - Reflects review comments
> - Merge branch 'master' into JDK-8321206-Locale-static-properties
> - Add exclusions in cdsHeapVerifier for new StaticProperties
> - initial commit
Thanks for the reviews. I will ask hotspot folks to rectify the reasonings in `cdsHeapVerifier.cpp` if necessary.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16986#issuecomment-1847661347
More information about the core-libs-dev
mailing list