<i18n dev> RFR: 8301119: Support for GB18030-2022
Alan Bateman
alanb at openjdk.org
Wed Feb 22 11:38:14 UTC 2023
On Wed, 22 Feb 2023 10:46:10 GMT, Sean Coffey <coffeys at openjdk.org> wrote:
> curious - what scenario triggers this call at initLevel < 1 ?
It's not supported, but it is possible that someone might run with -Dfile.encoding=GB18030, in which case the default charset is used before the system properties are initialized in initPhase1. Checking the init level breaks the circularity, the only downside is that can't switch to GB18030-2000 at the same time.
-------------
PR: https://git.openjdk.org/jdk/pull/12518
More information about the i18n-dev
mailing list