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

[TESTBUG] compiler/classUnloading/anonymousClass/TestAnonymousClassUnloading failed with ClassNotFoundException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 10
    • 10
    • hotspot
    • None
    • b31
    • x86
    • windows

      The TestAnonymousClassUnloading.java test failed with ClassNotFoundException in JPRT testing after repo consolidation.

      Excerpt from JPRT log:

      STDERR:
      java.lang.ClassNotFoundException: compiler/classUnloading/anonymousClass/TestAnonymousClassUnloading
      at java.base/java.lang.Class.forName0(Native Method)
      at java.base/java.lang.Class.forName(Class.java:375)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:113)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: main() method must be in a public class named
      JavaTest Message: compiler.classUnloading.anonymousClass.TestAnonymousClassUnloading in file compiler.classUnloading.anonymousClass.TestAnonymousClassUnloading.java

      STATUS:Error.Can't load test: java.lang.ClassNotFoundException: compiler/classUnloading/anonymousClass/TestAnonymousClassUnloading

      The failure was observed on windows platforms only.
      It failed consistently on windows-x86. Failure was also seen on windows-x64.

            ccheung Calvin Cheung
            ccheung Calvin Cheung
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: