[jdk21u] RFR: 8338139: {ClassLoading,Memory}MXBean::isVerbose methods are inconsistent with their setVerbose methods

Goetz Lindenmaier goetz at openjdk.org
Mon Sep 2 06:17:31 UTC 2024


On Fri, 30 Aug 2024 15:43:11 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> A backport to jdk21u as this fixes a jck issue.
> 
>  I had to remove the namespace from LogConfiguration::StdoutLog as JDK-8299825 is not in 21.
>  I also had to adapt TestVerboseClassLoading, as 'cause' is not known to the logging in 21.
> 
> Tests fail as expected, and passes with the fix.

GHA failure: TEST: serviceability/sa/ClhsdbFindPC.java#no-xcomp-process
Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: '^sun.jvm.hotspot.debugger.DebuggerException:.*$' found in stderr: 'sun.jvm.hotspot.debugger.DebuggerException: Doesn't appear to be a HotSpot VM (could not find symbol "gHotSpotVMTypes" in remote process)'

Linkage problem, surely unrelated to my change that does not touch this symbol. Was there some old binary somewhere?
Will trigger retest.

-------------

PR Comment: https://git.openjdk.org/jdk21u/pull/449#issuecomment-2323895074


More information about the jdk-updates-dev mailing list