The newly added test test/hotspot/jtreg/serviceability/attach/AttachAPIv2/CompatTest.java intermittent fails 'java.lang.NoClassDefFoundError: jdk/test/lib/Utils'
The test log snippet:
STDOUT:
Client is in compat mode: false
STDERR:
java.lang.NoClassDefFoundError: jdk/test/lib/Utils
at jdk.test.lib.apps.LingeredApp.startApp(LingeredApp.java:495)
at jdk.test.lib.apps.LingeredApp.startApp(LingeredApp.java:507)
at CompatTest.main(CompatTest.java:52)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:573)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1576)
Caused by: java.lang.ClassNotFoundException: jdk.test.lib.Utils
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:528)
... 7 more
The test log snippet:
STDOUT:
Client is in compat mode: false
STDERR:
java.lang.NoClassDefFoundError: jdk/test/lib/Utils
at jdk.test.lib.apps.LingeredApp.startApp(LingeredApp.java:495)
at jdk.test.lib.apps.LingeredApp.startApp(LingeredApp.java:507)
at CompatTest.main(CompatTest.java:52)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:573)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1576)
Caused by: java.lang.ClassNotFoundException: jdk.test.lib.Utils
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:528)
... 7 more
- relates to
-
JDK-8336691 Test LongArgTest.java intermittent fails java.lang.NoClassDefFoundError: jdk/test/lib/Utils
- Open