mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8190984: tools/launcher/TestXcheckJNIWarnings.java WARNING was found in the output
Reviewed-by: dholmes, mchung
This commit is contained in:
parent
eb417da953
commit
276093653a
2 changed files with 3 additions and 1 deletions
|
@ -186,6 +186,9 @@ Java_java_lang_System_initProperties(JNIEnv *env, jclass cla, jobject props)
|
|||
jobject ret = NULL;
|
||||
jstring jVMVal = NULL;
|
||||
|
||||
if ((*env)->EnsureLocalCapacity(env, 50) < 0) {
|
||||
return NULL;
|
||||
}
|
||||
sprops = GetJavaProperties(env);
|
||||
CHECK_NULL_RETURN(sprops, NULL);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue