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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8u40
    • 8u40
    • hotspot
    • b19

        ----------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.*

              mseledtsov Mikhailo Seledtsov
              bmoloden Boris Molodenkov
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: