8260378: [TESTBUG] DcmdMBeanTestCheckJni.java reports false positive

Reviewed-by: dcubed
This commit is contained in:
Severin Gehwolf 2021-01-26 15:18:56 +00:00
parent 8d2f77fd43
commit af8a08f584
2 changed files with 2 additions and 2 deletions

View File

@ -27,4 +27,3 @@
#
#############################################################################
com/sun/management/DiagnosticCommandMBean/DcmdMBeanTestCheckJni.java 8260378 windows-all

View File

@ -48,7 +48,8 @@ public class DcmdMBeanTestCheckJni {
OutputAnalyzer out = ProcessTools.executeTestJvm(
"-Xcheck:jni",
DcmdMBeanRunner.class.getName());
out.shouldNotMatch("WARNING: JNI local refs: \\d+, exceeds capacity: \\d+")
out.shouldNotMatch("WARNING: JNI local refs: \\d+, exceeds capacity: \\d+\\s+" +
"at com.sun.management.internal.DiagnosticCommandImpl.getDiagnosticCommandInfo")
.shouldContain("DcmdMBeanRunner COMPLETE")
.shouldHaveExitValue(0);
}