Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8278140

applications/ctw/modules/jdk_* fail with java.lang.ClassNotFoundException: sun.hotspot.tools.ctw.ClassPathJarEntry

XMLWordPrintable

    • aarch64
    • os_x

      The tests

      applications/ctw/modules/jdk_naming_rmi.java
      applications/ctw/modules/jdk_jshell.java
      applications/ctw/modules/jdk_jlink.java
      applications/ctw/modules/jdk_jdi.java
      applications/ctw/modules/jdk_jdeps.java
      applications/ctw/modules/jdk_jcmd.java
      applications/ctw/modules/jdk_internal_vm_ci.java
      applications/ctw/modules/jdk_internal_opt.java
      applications/ctw/modules/jdk_internal_ed.java
      applications/ctw/modules/jdk_httpserver.java
      applications/ctw/modules/jdk_crypto_ec.java
      applications/ctw/modules/java_xml_crypto.java
      applications/ctw/modules/java_scripting.java
      applications/ctw/modules/java_prefs.java
      applications/ctw/modules/java_logging.java

      fail with

      java.lang.NoClassDefFoundError: sun/hotspot/tools/ctw/ClassPathJarEntry
      at sun.hotspot.tools.ctw.CtwRunner.classCount(CtwRunner.java:229)
      at sun.hotspot.tools.ctw.CtwRunner.startCtwforAllClasses(CtwRunner.java:161)
      at sun.hotspot.tools.ctw.CtwRunner.run(CtwRunner.java:119)
      at sun.hotspot.tools.ctw.CtwRunner.main(CtwRunner.java:65)
      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:833)
      Caused by: java.lang.ClassNotFoundException: sun.hotspot.tools.ctw.ClassPathJarEntry
      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)
      ... 8 more

      on macosx-aarch64

      The change that seems to have caused the issue is JDK-8276657: XSLT compiler tries to define a class with empty name

            thartmann Tobias Hartmann
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: