On Wed, 22 Feb 2023 10:46:10 GMT, Sean Coffey <coff...@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

Reply via email to