RFR: 8300819: -Dfile.encoding=Cp943C option does not work as expected since jdk18 [v2]

Alan Bateman alanb at openjdk.org
Tue Jan 24 12:59:04 UTC 2023


On Tue, 24 Jan 2023 12:27:43 GMT, Ichiroh Takiguchi <itakiguchi at openjdk.org> wrote:

> As described before, JDK17 worked with `-Dfile.encoding=Cp943C`, and JDK18 changed the behavior. I heard some apps had already ported on JDK17 with the option, and works.

It's bug that this "worked" in JDK 9+ as the default charset needs to be in java.base.

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

PR: https://git.openjdk.org/jdk/pull/12132


More information about the core-libs-dev mailing list