RFR: 8243453: Option --describe-module failed with non-ASCII module name under non-UTF8 environment

Toshio 5 Nakamura TOSHIONA at jp.ibm.com
Fri Apr 24 08:33:23 UTC 2020


Hi all,

Please review this fix.
Also, I'd like to ask a sponsor of the fix, since I'm not a committer.

Issue: https://bugs.openjdk.java.net/browse/JDK-8243453
Webrev: http://cr.openjdk.java.net/~tnakamura/8243453/webrev.00/

Under Windows Japanese or Chinese, encoding of command line option
cannot be assumed as UTF-8.
This fix changes from "(*env)->NewStringUTF()" to "NewPlatformString()"
to call Helper method.

Tier 1/2 tests on Linux and Windows passed.

Best Regards,
Toshio Nakamura


More information about the core-libs-dev mailing list