executeInstalledCode returnes null for valid code which create an object.
----------messages:(3/435)----------
command: main -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. compiler.jvmci.compilerToVM.ExecuteInstalledCodeTest
reason: User specified action: run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. compiler.jvmci.compilerToVM.ExecuteInstalledCodeTest
elapsed time (seconds): 0.705
----------System.out:(3/544)----------
CompileCodeTestCase{executable=public default java.lang.Long compiler.jvmci.compilerToVM.CompileCodeTestCase$Interface.defaultOverridedMethod(compiler.jvmci.compilerToVM.CompileCodeTestCase$Interface[]), isOsr=false}
CompileCodeTestCase{executable=public default int compiler.jvmci.compilerToVM.CompileCodeTestCase$Interface.defaultMethod(java.lang.Object), isOsr=false}
CompileCodeTestCase{executable=compiler.jvmci.compilerToVM.CompileCodeTestCase$Dummy compiler.jvmci.compilerToVM.CompileCodeTestCase$Dummy.instanceMethod(int), isOsr=false}
----------System.err:(27/2579)----------
java.lang.RuntimeException: CompileCodeTestCase{executable=compiler.jvmci.compilerToVM.CompileCodeTestCase$Dummy compiler.jvmci.compilerToVM.CompileCodeTestCase$Dummy.instanceMethod(int), isOsr=false} : different return value (assert failed: compiler.jvmci.compilerToVM.CompileCodeTestCase$DummyEx@0 == null)
at jdk.test.lib.Asserts.error(Asserts.java:444)
at jdk.test.lib.Asserts.assertTrue(Asserts.java:371)
at jdk.test.lib.Asserts.assertEquals(Asserts.java:166)
at jdk.test.lib.Asserts.assertEQ(Asserts.java:140)
at compiler.jvmci.compilerToVM.ExecuteInstalledCodeTest.checkSanity(ExecuteInstalledCodeTest.java:99)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1387)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:430)
at compiler.jvmci.compilerToVM.ExecuteInstalledCodeTest.main(ExecuteInstalledCodeTest.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:519)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:746)
----------messages:(3/435)----------
command: main -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. compiler.jvmci.compilerToVM.ExecuteInstalledCodeTest
reason: User specified action: run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. compiler.jvmci.compilerToVM.ExecuteInstalledCodeTest
elapsed time (seconds): 0.705
----------System.out:(3/544)----------
CompileCodeTestCase{executable=public default java.lang.Long compiler.jvmci.compilerToVM.CompileCodeTestCase$Interface.defaultOverridedMethod(compiler.jvmci.compilerToVM.CompileCodeTestCase$Interface[]), isOsr=false}
CompileCodeTestCase{executable=public default int compiler.jvmci.compilerToVM.CompileCodeTestCase$Interface.defaultMethod(java.lang.Object), isOsr=false}
CompileCodeTestCase{executable=compiler.jvmci.compilerToVM.CompileCodeTestCase$Dummy compiler.jvmci.compilerToVM.CompileCodeTestCase$Dummy.instanceMethod(int), isOsr=false}
----------System.err:(27/2579)----------
java.lang.RuntimeException: CompileCodeTestCase{executable=compiler.jvmci.compilerToVM.CompileCodeTestCase$Dummy compiler.jvmci.compilerToVM.CompileCodeTestCase$Dummy.instanceMethod(int), isOsr=false} : different return value (assert failed: compiler.jvmci.compilerToVM.CompileCodeTestCase$DummyEx@0 == null)
at jdk.test.lib.Asserts.error(Asserts.java:444)
at jdk.test.lib.Asserts.assertTrue(Asserts.java:371)
at jdk.test.lib.Asserts.assertEquals(Asserts.java:166)
at jdk.test.lib.Asserts.assertEQ(Asserts.java:140)
at compiler.jvmci.compilerToVM.ExecuteInstalledCodeTest.checkSanity(ExecuteInstalledCodeTest.java:99)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1387)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:430)
at compiler.jvmci.compilerToVM.ExecuteInstalledCodeTest.main(ExecuteInstalledCodeTest.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:519)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:746)
- relates to
-
JDK-8137180 [JVMCI] ExecuteInstalledCodeTest should compare arg[0] for <init>
-
- Resolved
-