Test: runtime/AppCDS/jvmti/ClassFileLoadHookTest.java
Error occurred during initialization of VM
Could not find agent library SimpleClassFileLoadHook on the library path, with error: libSimpleClassFileLoadHook.so: cannot open shared object file: No such file or directory
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:380)
at ClassFileLoadHookTest.main(ClassFileLoadHookTest.java:48)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
at java.base/java.lang.Thread.run(Thread.java:844)
Error occurred during initialization of VM
Could not find agent library SimpleClassFileLoadHook on the library path, with error: libSimpleClassFileLoadHook.so: cannot open shared object file: No such file or directory
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:380)
at ClassFileLoadHookTest.main(ClassFileLoadHookTest.java:48)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
at java.base/java.lang.Thread.run(Thread.java:844)
- relates to
-
CODETOOLS-7901983 jtreg should update LD_LIBRARY_PATH only for actions with /native option
-
- Resolved
-