mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8243453: java --describe-module failed with non-ASCII module name under non-UTF8 environment
Reviewed-by: alanb
This commit is contained in:
parent
e70d76d741
commit
90e8a0a3db
1 changed files with 1 additions and 1 deletions
|
@ -1958,7 +1958,7 @@ DescribeModule(JNIEnv *env, char *optString)
|
|||
NULL_CHECK(cls);
|
||||
NULL_CHECK(describeModuleID = (*env)->GetStaticMethodID(env, cls,
|
||||
"describeModule", "(Ljava/lang/String;)V"));
|
||||
NULL_CHECK(joptString = (*env)->NewStringUTF(env, optString));
|
||||
NULL_CHECK(joptString = NewPlatformString(env, optString));
|
||||
(*env)->CallStaticVoidMethod(env, cls, describeModuleID, joptString);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue