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

com/sun/jdi/ClassUnloadEventTest.java failed with: Wrong number of class unload events: expected 10 got 4

XMLWordPrintable

    • b21

        com/sun/jdi/ClassUnloadEventTest.java is a new test that was added by JDK-8256811.

        java.lang.RuntimeException: Wrong number of class unload events: expected 10 got 4
        at ClassUnloadEventTest.runDebugger(ClassUnloadEventTest.java:166)
        at ClassUnloadEventTest.main(ClassUnloadEventTest.java:59)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:578)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:1589)

        This was with a linux-x64-debug build using the following flags: -XX:+CreateCoredumpOnCrash -XX:+UseParallelGC -XX:+UseNUMA

        However, I don't think the flags are related to the failure. I see another failure in an ad-hoc job that only used the -server flag. It also was on linux-x64-debug.

              sspitsyn Serguei Spitsyn
              cjplummer Chris Plummer
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: