-
Bug
-
Resolution: Fixed
-
P3
-
12
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8249055 | 11.0.9 | Ioi Lam | P3 | Resolved | Fixed | b01 |
openjdk version "12-ea" 2019-03-19
OpenJDK Runtime Environment (build 12-ea+18)
OpenJDK 64-Bit Server VM (build 12-ea+18, mixed mode, sharing)
Command used: ./jtreg/bin/jtreg -verbose:all -jdk:./jdk-12 -nativepath:./testlib/hotspot/jtreg/native -dir:./jdk1218/test/hotspot/jtreg runtime/SharedArchiveFile/serviceability/ReplaceCriticalClasses.java
Error log(Attached .jtr file):
java.lang.ClassNotFoundException: jdk.internal.vm.PostVMInitHook
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:314)
at ReplaceCriticalClasses.launchChild(ReplaceCriticalClasses.java:119)
at ReplaceCriticalClasses.launchChildProcesses(ReplaceCriticalClasses.java:93)
at ReplaceCriticalClasses.main(ReplaceCriticalClasses.java:45)
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:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:835)
OpenJDK Runtime Environment (build 12-ea+18)
OpenJDK 64-Bit Server VM (build 12-ea+18, mixed mode, sharing)
Command used: ./jtreg/bin/jtreg -verbose:all -jdk:./jdk-12 -nativepath:./testlib/hotspot/jtreg/native -dir:./jdk1218/test/hotspot/jtreg runtime/SharedArchiveFile/serviceability/ReplaceCriticalClasses.java
Error log(Attached .jtr file):
java.lang.ClassNotFoundException: jdk.internal.vm.PostVMInitHook
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:314)
at ReplaceCriticalClasses.launchChild(ReplaceCriticalClasses.java:119)
at ReplaceCriticalClasses.launchChildProcesses(ReplaceCriticalClasses.java:93)
at ReplaceCriticalClasses.main(ReplaceCriticalClasses.java:45)
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:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:835)
- backported by
-
JDK-8249055 runtime/SharedArchiveFile/serviceability/ReplaceCriticalClasses.java fails with ClassNotFoundException: jdk.internal.vm.PostVMInitHook
- Resolved
- relates to
-
JDK-8221918 runtime/SharedArchiveFile/serviceability/ReplaceCriticalClasses.java fails: Shared archive not found
- Resolved