RFR: 8275007: Java fails to start with null charset if LC_ALL is set to certain locales [v3]

Naoto Sato naoto at openjdk.java.net
Fri Nov 12 19:14:40 UTC 2021


On Fri, 12 Nov 2021 19:11:07 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> Please review the subject fix. In light of JEP400, Java runtime can/should start in UTF-8 charset if the underlying native encoding is not supported.
>
> Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Force the jnu encoding to UTF-8 if the original one is not supported

I reproduced those failures on Debian Linux. Corrected the issue by replacing unsupported jnu encoding with `UTF-8` in `System::initPhase1`.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6282


More information about the core-libs-dev mailing list