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

com/sun/jdi/RedefineCrossEvent.java failed: Did not get expected IllegalThreadStateException on a StepRequest.enable()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 18
    • Fix Version/s: None
    • Component/s: core-svc
    • Labels:

      Description

      ----------System.err:(27/1658)----------
      [1ms] run args: [-redefstart, -redefevent, AfterDeathTarg]
      [644ms] Redefining class AfterDeathTarg (loaded by instance of jdk.internal.loader.ClassLoaders$AppClassLoader(id=43))
      [650ms] Redefining class AfterDeathTarg (loaded by instance of jdk.internal.loader.ClassLoaders$AppClassLoader(id=43))
      [677ms] Got ThreadDeathEvent: ThreadDeathEvent in thread main
      [678ms] Got ThreadStartEvent: ThreadStartEvent in thread Common-Cleaner
      [690ms] FAILED: Did not get expected IllegalThreadStateException on a StepRequest.enable()
      [693ms] Got ThreadStartEvent: ThreadStartEvent in thread DestroyJavaVM
      [693ms] Deleted stepRequest
      [697ms] Ok; got expected IllegalThreadStateException
      [699ms] Got ThreadDeathEvent: ThreadDeathEvent in thread DestroyJavaVM
      [700ms] Got VMDeathEvent
      [700ms] Got VMDeathEvent
      [1041ms] Got VMDisconnectEvent
      java.lang.Exception: AfterThreadDeathTest: failed
      at AfterThreadDeathTest.runTests(AfterThreadDeathTest.java:156)
      at TestScaffold.startTests(TestScaffold.java:431)
      at AfterThreadDeathTest.main(AfterThreadDeathTest.java:63)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
      at java.base/java.lang.Thread.run(Thread.java:833)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sspitsyn Serguei Spitsyn
              Reporter:
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: