The test case serviceability/attach/LongArgTest.java intermittent fails, the test log snippet:
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 LongArgTest.main(LongArgTest.java:51)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:588)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1575)
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
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 LongArgTest.main(LongArgTest.java:51)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:588)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1575)
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
-
CODETOOLS-7902847 Class directory of a test case should not be used to compile a library
- Open
-
JDK-8343114 Test CompatTest.java intermittent fails NoClassDefFoundError
- Open
- links to
-
Review(master) openjdk/jdk/20228