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

Ichiroh Takiguchi itakiguchi at openjdk.java.net
Sun Nov 7 13:06:32 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.

If this issue is not a part of JEP-400, I think UTF_8 may not be only solution for sun/nio/fs/Util.java.
Please explain why UTF_8 is better than ISO_8859_1.

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

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


More information about the core-libs-dev mailing list