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

Naoto Sato naoto at openjdk.java.net
Mon Nov 8 05:00:34 UTC 2021


On Fri, 5 Nov 2021 17:31:50 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.

The same rationale as JEP 400, that UTF-8 is the de-facto encoding these days. This is for the exceptional case where JDK does not support the native encoding, choosing fallback as UTF-8 is not a bad choice IMO.

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

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


More information about the core-libs-dev mailing list