<i18n dev> RFR: 8295232: "java.locale.useOldISOCodes" property is read lazily
Sean Coffey
coffeys at openjdk.org
Thu Oct 13 10:36:27 UTC 2022
On Wed, 12 Oct 2022 20:03:05 GMT, Naoto Sato <naoto at openjdk.org> wrote:
> Fixed to utilize `StaticProperty` so that the system property value for `java.locale.useOldISOCodes` set on the command line is honored even with lazy `Locale` initialization.
Marked as reviewed by coffeys (Reviewer).
src/java.base/share/classes/sun/util/locale/BaseLocale.java line 38:
> 36: import jdk.internal.util.StaticProperty;
> 37: import jdk.internal.vm.annotation.Stable;
> 38: import sun.security.action.GetPropertyAction;
unused import can be removed "sun.security.action.GetPropertyAction"
-------------
PR: https://git.openjdk.org/jdk/pull/10683
More information about the i18n-dev
mailing list