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

jdk/javadoc/tool/removeOldDoclet/RemoveOldDoclet test fails in mach5

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 13
    • Component/s: tools
    • Labels:

      Description

      Javadoc test jdk/javadoc/tool/removeOldDoclet/RemoveOldDoclet test fails in mach5 tier1.
      But the testcase passes in local builds

      java.lang.reflect.InvocationTargetException
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at javadoc.tester.JavadocTester.runTests(JavadocTester.java:276)
      at RemoveOldDoclet.main(RemoveOldDoclet.java:50)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:835)
      Caused by: java.lang.NoClassDefFoundError: com/sun/javadoc/Doclet
      at java.base/java.lang.ClassLoader.defineClass1(Native Method)
      at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
      at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151)
      at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:515)
      at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:423)
      at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:417)
      at java.base/java.security.AccessController.doPrivileged(AccessController.java:690)
      at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:416)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
      at jdk.javadoc/jdk.javadoc.internal.tool.Start.preprocess(Start.java:751)
      at jdk.javadoc/jdk.javadoc.internal.tool.Start.begin(Start.java:377)
      at jdk.javadoc/jdk.javadoc.internal.tool.Start.begin(Start.java:345)
      at jdk.javadoc/jdk.javadoc.internal.tool.Main.execute(Main.java:75)
      at javadoc.tester.JavadocTester.javadoc(JavadocTester.java:369)
      at RemoveOldDoclet.testInvokeOldDoclet(RemoveOldDoclet.java:66)
      ... 12 more
      Caused by: java.lang.ClassNotFoundException: com.sun.javadoc.Doclet
      at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:436)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
      ... 28 more

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pmuthuswamy Priya Lakshmi Muthuswamy (Inactive)
              Reporter:
              pmuthuswamy Priya Lakshmi Muthuswamy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: