Some jcmd tests fail with
java.lang.RuntimeException: stderr was not empty
at jdk.test.lib.process.OutputAnalyzer.stderrShouldBeEmptyIgnoreDeprecatedWarnings(OutputAnalyzer.java:188)
at TestJcmdSanity.matchPerfCounters(TestJcmdSanity.java:158)
[...]
where
];
stderr: [Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option ZGenerational; support was removed in 24.0
]
exitValue = 0
E.g.
sun/tools/jcmd/TestJcmdSanity.java
sun/tools/jcmd/TestJcmdDefaults.java
serviceability/attach/RemovingUnixDomainSocketTest.java
java.lang.RuntimeException: stderr was not empty
at jdk.test.lib.process.OutputAnalyzer.stderrShouldBeEmptyIgnoreDeprecatedWarnings(OutputAnalyzer.java:188)
at TestJcmdSanity.matchPerfCounters(TestJcmdSanity.java:158)
[...]
where
];
stderr: [Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option ZGenerational; support was removed in 24.0
]
exitValue = 0
E.g.
sun/tools/jcmd/TestJcmdSanity.java
sun/tools/jcmd/TestJcmdDefaults.java
serviceability/attach/RemovingUnixDomainSocketTest.java