8190984: tools/launcher/TestXcheckJNIWarnings.java WARNING was found in the output
Reviewed-by: dholmes, mchung
--- a/src/java.base/share/native/libjava/System.c Fri Dec 08 13:04:43 2017 -0800
+++ b/src/java.base/share/native/libjava/System.c Tue Dec 12 21:46:06 2017 -0500
@@ -186,6 +186,9 @@
jobject ret = NULL;
jstring jVMVal = NULL;
+ if ((*env)->EnsureLocalCapacity(env, 50) < 0) {
+ return NULL;
+ }
sprops = GetJavaProperties(env);
CHECK_NULL_RETURN(sprops, NULL);
--- a/test/jdk/ProblemList.txt Fri Dec 08 13:04:43 2017 -0800
+++ b/test/jdk/ProblemList.txt Tue Dec 12 21:46:06 2017 -0500
@@ -257,7 +257,6 @@
tools/pack200/CommandLineTests.java 8059906 generic-all
tools/launcher/FXLauncherTest.java 8068049 linux-all,macosx-all
-tools/launcher/TestXcheckJNIWarnings.java 8190984 solaris-all
tools/jimage/JImageExtractTest.java 8170120 generic-all
tools/jimage/JImageListTest.java 8170120 generic-all