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

[TESTBUG] runtime/CheckEndorsedAndExtDirs/EndorsedExtDirs.java fails with ClassNotFoundException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u40
    • Fix Version/s: 8u40
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b19

      Backports

        Description

        ----------System.err:(22/1350)----------
        java.lang.NoClassDefFoundError: com/oracle/java/testlibrary/ProcessTools
        at com.oracle.java.testlibrary.OutputAnalyzer.<init>(OutputAnalyzer.java:44)
        at EndorsedExtDirs.fatalError(EndorsedExtDirs.java:88)
        at EndorsedExtDirs.fatalError(EndorsedExtDirs.java:84)
        at EndorsedExtDirs.main(EndorsedExtDirs.java:45)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:745)
        Caused by: java.lang.ClassNotFoundException: com.oracle.java.testlibrary.ProcessTools
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

        http://hg.openjdk.java.net/jdk8u/jdk8u-dev/hotspot/file/fbd65124cdaa/test/runtime/CheckEndorsedAndExtDirs/EndorsedExtDirs.java
        It is needed to build testlibrary classes with:
        build com.oracle.java.testlibrary.*

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mseledtsov Mikhailo Seledtsov
                Reporter:
                bmoloden Boris Molodenkov (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: