Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8283597 [REDO] Invalid generic signature for redefined classes
  3. JDK-8283587

[BACKOUT] Invalid generic signature for redefined classes

XMLWordPrintable

    • b16
    • generic
    • generic

      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

            amenkov Alex Menkov
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: