The following two tests failed in the JDK19 CI:
serviceability/jvmti/RedefineClasses/TestRedefineCondy.java
serviceability/jvmti/RedefineClasses/TestMultipleClasses.java
Here's a snippet from the the TestRedefineCondy.java log file:
----------System.err:(15/884)----------
java.lang.NoClassDefFoundError: jdk/test/lib/helpers/ClassFileInstaller$Manifest
at RedefineClassHelper.main(RedefineClassHelper.java:69)
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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:828)
Caused by: java.lang.ClassNotFoundException: jdk.test.lib.helpers.ClassFileInstaller$Manifest
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 5 more
JavaTest Message: Test threw exception: java.lang.NoClassDefFoundError
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.NoClassDefFoundError: jdk/test/lib/helpers/ClassFileInstaller$Manifest
Here's a log file snippet from the TestMultipleClasses.java log file:
----------System.err:(15/884)----------
java.lang.NoClassDefFoundError: jdk/test/lib/helpers/ClassFileInstaller$Manifest
at RedefineClassHelper.main(RedefineClassHelper.java:69)
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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:828)
Caused by: java.lang.ClassNotFoundException: jdk.test.lib.helpers.ClassFileInstaller$Manifest
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 5 more
JavaTest Message: Test threw exception: java.lang.NoClassDefFoundError
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.NoClassDefFoundError: jdk/test/lib/helpers/ClassFileInstaller$Manifest
serviceability/jvmti/RedefineClasses/TestRedefineCondy.java
serviceability/jvmti/RedefineClasses/TestMultipleClasses.java
Here's a snippet from the the TestRedefineCondy.java log file:
----------System.err:(15/884)----------
java.lang.NoClassDefFoundError: jdk/test/lib/helpers/ClassFileInstaller$Manifest
at RedefineClassHelper.main(RedefineClassHelper.java:69)
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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:828)
Caused by: java.lang.ClassNotFoundException: jdk.test.lib.helpers.ClassFileInstaller$Manifest
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 5 more
JavaTest Message: Test threw exception: java.lang.NoClassDefFoundError
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.NoClassDefFoundError: jdk/test/lib/helpers/ClassFileInstaller$Manifest
Here's a log file snippet from the TestMultipleClasses.java log file:
----------System.err:(15/884)----------
java.lang.NoClassDefFoundError: jdk/test/lib/helpers/ClassFileInstaller$Manifest
at RedefineClassHelper.main(RedefineClassHelper.java:69)
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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:828)
Caused by: java.lang.ClassNotFoundException: jdk.test.lib.helpers.ClassFileInstaller$Manifest
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 5 more
JavaTest Message: Test threw exception: java.lang.NoClassDefFoundError
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.NoClassDefFoundError: jdk/test/lib/helpers/ClassFileInstaller$Manifest
- relates to
-
JDK-8283597 [REDO] Invalid generic signature for redefined classes
- Resolved
-
JDK-8282241 Invalid generic signature for redefined classes
- Closed