<i18n dev> RFR: 8295232: "java.locale.useOldISOCodes" property is read lazily
Naoto Sato
naoto at openjdk.org
Thu Oct 13 16:00:56 UTC 2022
On Thu, 13 Oct 2022 10:33:32 GMT, Sean Coffey <coffeys 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.
>
> 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"
Thanks, Sean. Will remove this unnecessary import before the integration.
-------------
PR: https://git.openjdk.org/jdk/pull/10683
More information about the i18n-dev
mailing list