Description
appcds/redefineClass/RedefineRunningMethods_Shared.java fails in the loom repo as follows:
Exception in thread "main" java.lang.RuntimeException: Test set-up problem. This class should be shared but isn't: RedefineRunningMethods
at RedefineRunningMethods_SharedHelper.main(RedefineRunningMethods_SharedHelper.java:39)
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:489)
at jdk.test.lib.cds.CDSTestUtils.checkExec(CDSTestUtils.java:468)
at jdk.test.lib.cds.CDSTestUtils.checkExec(CDSTestUtils.java:457)
at RedefineRunningMethods_Shared.main(RedefineRunningMethods_Shared.java:76)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:1493)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
Exception in thread "main" java.lang.RuntimeException: Test set-up problem. This class should be shared but isn't: RedefineRunningMethods
at RedefineRunningMethods_SharedHelper.main(RedefineRunningMethods_SharedHelper.java:39)
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:489)
at jdk.test.lib.cds.CDSTestUtils.checkExec(CDSTestUtils.java:468)
at jdk.test.lib.cds.CDSTestUtils.checkExec(CDSTestUtils.java:457)
at RedefineRunningMethods_Shared.main(RedefineRunningMethods_Shared.java:76)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:1493)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]