The new test from JDK-8351748 is failing in tier6
----------System.err:(23/1148)----------
stdout: [Expected: java.lang.NullPointerException
MethodHandleTestApp$A.<clinit>
MethodHandleTestApp$A.staticMethod()
];
stderr: []
exitValue = 134
java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [134]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:522)
at jdk.test.lib.cds.CDSAppTester.executeAndCheck(CDSAppTester.java:189)
at jdk.test.lib.cds.CDSAppTester.productionRun(CDSAppTester.java:343)
at jdk.test.lib.cds.CDSAppTester.productionRun(CDSAppTester.java:308)
at jdk.test.lib.cds.CDSAppTester.runAOTWorkflow(CDSAppTester.java:389)
at jdk.test.lib.cds.CDSAppTester.run(CDSAppTester.java:364)
at MethodHandleTest.main(MethodHandleTest.java:53)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
at java.base/java.lang.Thread.run(Thread.java:1447)
==============
To reproduce, run the test without any vmoptions. It should pass. Then, open the MethodHandleTest.jtr file and cut-and-paste the last command line (which ends with "MethodHandleTestApp PRODUCTION"). Add -Xcomp to this command-line and run.
----------System.err:(23/1148)----------
stdout: [Expected: java.lang.NullPointerException
MethodHandleTestApp$A.<clinit>
MethodHandleTestApp$A.staticMethod()
];
stderr: []
exitValue = 134
java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [134]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:522)
at jdk.test.lib.cds.CDSAppTester.executeAndCheck(CDSAppTester.java:189)
at jdk.test.lib.cds.CDSAppTester.productionRun(CDSAppTester.java:343)
at jdk.test.lib.cds.CDSAppTester.productionRun(CDSAppTester.java:308)
at jdk.test.lib.cds.CDSAppTester.runAOTWorkflow(CDSAppTester.java:389)
at jdk.test.lib.cds.CDSAppTester.run(CDSAppTester.java:364)
at MethodHandleTest.main(MethodHandleTest.java:53)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
at java.base/java.lang.Thread.run(Thread.java:1447)
==============
To reproduce, run the test without any vmoptions. It should pass. Then, open the MethodHandleTest.jtr file and cut-and-paste the last command line (which ends with "MethodHandleTestApp PRODUCTION"). Add -Xcomp to this command-line and run.
- caused by
-
JDK-8351748 Add class init barrier to AOT-cached Method/Var Handles
-
- Resolved
-
- links to
-
Review(master) openjdk/jdk/24321