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

Alan Bateman alanb at openjdk.org
Tue Jan 24 12:54:03 UTC 2023


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

> One of my client has many legacy Java apps on AIX. Their apps use default charset to communicate with other apps via cipher communication, and validate data by using Cp943C.

Do you know if there is any configuration on AIX that would derive Cp943C as the default charset? That is, are they running with -Dfile.encoding=Cp943C on the AIX systems or is it chosen by default. This goes to the question as to whether they just moving these applications to Linux and expecting the default charset to be the same.

Do you know which APIs they are using? We filled in the gaps many releases ago so that all APIs that do encoding/decoding allow the charset to be specified and I'm wondering why they don't use those.

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

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


More information about the core-libs-dev mailing list