-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
19
-
aarch64
-
linux
The following test failed in the JDK19 CI:
compiler/jsr292/RedefineMethodUsedByMultipleMethodHandles.java
Here's a snippet from the log file:
#section:main
----------messages:(5/469)----------
command: main -Djdk.attach.allowAttachSelf compiler.jsr292.RedefineMethodUsedByMultipleMethodHandles
reason: User specified action: run main/othervm -Djdk.attach.allowAttachSelf compiler.jsr292.RedefineMethodUsedByMultipleMethodHandles
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.base,java.compiler,java.instrument,jdk.attach --add-exports java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED
elapsed time (seconds): 18.372
----------configuration:(4/147)----------
Boot Layer
add modules: java.base java.compiler java.instrument jdk.attach
add exports: java.base/jdk.internal.org.objectweb.asm ALL-UNNAMED
----------System.out:(2/40)----------
fooMH1.invoke = foo
fooMH2.invoke = foo
----------System.err:(24/1856)----------
java version "19-ea" 2022-09-20
Java(TM) SE Runtime Environment (fastdebug build 19-ea+4-128)
Java HotSpot(TM) 64-Bit Server VM (fastdebug build 19-ea+4-128, mixed mode)
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at compiler.jsr292.RedefineMethodUsedByMultipleMethodHandles.runAgent(RedefineMethodUsedByMultipleMethodHandles.java:135)
at compiler.jsr292.RedefineMethodUsedByMultipleMethodHandles.redefineFoo(RedefineMethodUsedByMultipleMethodHandles.java:125)
at compiler.jsr292.RedefineMethodUsedByMultipleMethodHandles.main(RedefineMethodUsedByMultipleMethodHandles.java:86)
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:833)
Caused by: com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file /proc/2327398/root/tmp/.java_pid2327398: target process 2327398 doesn't respond within 10500ms or HotSpot VM not loaded
at jdk.attach/sun.tools.attach.VirtualMachineImpl.<init>(VirtualMachineImpl.java:105)
at jdk.attach/sun.tools.attach.AttachProviderImpl.attachVirtualMachine(AttachProviderImpl.java:58)
at jdk.attach/com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:207)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
... 8 more
JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException
----------rerun:(38/7214)*----------
compiler/jsr292/RedefineMethodUsedByMultipleMethodHandles.java
Here's a snippet from the log file:
#section:main
----------messages:(5/469)----------
command: main -Djdk.attach.allowAttachSelf compiler.jsr292.RedefineMethodUsedByMultipleMethodHandles
reason: User specified action: run main/othervm -Djdk.attach.allowAttachSelf compiler.jsr292.RedefineMethodUsedByMultipleMethodHandles
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.base,java.compiler,java.instrument,jdk.attach --add-exports java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED
elapsed time (seconds): 18.372
----------configuration:(4/147)----------
Boot Layer
add modules: java.base java.compiler java.instrument jdk.attach
add exports: java.base/jdk.internal.org.objectweb.asm ALL-UNNAMED
----------System.out:(2/40)----------
fooMH1.invoke = foo
fooMH2.invoke = foo
----------System.err:(24/1856)----------
java version "19-ea" 2022-09-20
Java(TM) SE Runtime Environment (fastdebug build 19-ea+4-128)
Java HotSpot(TM) 64-Bit Server VM (fastdebug build 19-ea+4-128, mixed mode)
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at compiler.jsr292.RedefineMethodUsedByMultipleMethodHandles.runAgent(RedefineMethodUsedByMultipleMethodHandles.java:135)
at compiler.jsr292.RedefineMethodUsedByMultipleMethodHandles.redefineFoo(RedefineMethodUsedByMultipleMethodHandles.java:125)
at compiler.jsr292.RedefineMethodUsedByMultipleMethodHandles.main(RedefineMethodUsedByMultipleMethodHandles.java:86)
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:833)
Caused by: com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file /proc/2327398/root/tmp/.java_pid2327398: target process 2327398 doesn't respond within 10500ms or HotSpot VM not loaded
at jdk.attach/sun.tools.attach.VirtualMachineImpl.<init>(VirtualMachineImpl.java:105)
at jdk.attach/sun.tools.attach.AttachProviderImpl.attachVirtualMachine(AttachProviderImpl.java:58)
at jdk.attach/com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:207)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
... 8 more
JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException
----------rerun:(38/7214)*----------