Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8260378: [TESTBUG] DcmdMBeanTestCheckJni.java reports false positive
Reviewed-by: dcubed
  • Loading branch information
jerboaa committed Jan 26, 2021
1 parent 8d2f77f commit af8a08f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion test/jdk/ProblemList-zgc.txt
Expand Up @@ -27,4 +27,3 @@
#
#############################################################################

com/sun/management/DiagnosticCommandMBean/DcmdMBeanTestCheckJni.java 8260378 windows-all
Expand Up @@ -48,7 +48,8 @@ public static void main(String[] args) throws Exception {
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);
}
Expand Down

1 comment on commit af8a08f

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.