Skip to content

Commit af8a08f

Browse files
committed
8260378: [TESTBUG] DcmdMBeanTestCheckJni.java reports false positive
Reviewed-by: dcubed
1 parent 8d2f77f commit af8a08f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/jdk/ProblemList-zgc.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,3 @@
2727
#
2828
#############################################################################
2929

30-
com/sun/management/DiagnosticCommandMBean/DcmdMBeanTestCheckJni.java 8260378 windows-all

test/jdk/com/sun/management/DiagnosticCommandMBean/DcmdMBeanTestCheckJni.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ public static void main(String[] args) throws Exception {
4848
OutputAnalyzer out = ProcessTools.executeTestJvm(
4949
"-Xcheck:jni",
5050
DcmdMBeanRunner.class.getName());
51-
out.shouldNotMatch("WARNING: JNI local refs: \\d+, exceeds capacity: \\d+")
51+
out.shouldNotMatch("WARNING: JNI local refs: \\d+, exceeds capacity: \\d+\\s+" +
52+
"at com.sun.management.internal.DiagnosticCommandImpl.getDiagnosticCommandInfo")
5253
.shouldContain("DcmdMBeanRunner COMPLETE")
5354
.shouldHaveExitValue(0);
5455
}

0 commit comments

Comments
 (0)