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

ForceEarlyReturn/ForceEarlyReturn002 fails due to "FAILED to force thread to early return."

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 13
    • hotspot
    • generic
    • generic

      The following test failed in Mach5 adhoc test jobs:

      vmTestbase/nsk/jvmti/ForceEarlyReturn/ForceEarlyReturn002/TestDescription.java

      Here's a snippet of the failure log:

      Repeatedly suspending the thread...
      # ERROR: ForceEarlyReturn001.cpp, 47: jvmti->SuspendThread(earlyReturnThread)
      # jvmti error: code=14, name=JVMTI_ERROR_THREAD_SUSPENDED
      Thread is already suspended.

      Forcing thread to early return...
      # ERROR: ForceEarlyReturn001.cpp, 78: jvmti->ForceEarlyReturnObject(earlyReturnThread, valueToReturn)
      # jvmti error: code=13, name=JVMTI_ERROR_THREAD_NOT_SUSPENDED
      FAILED to force thread to early return.

      Resuming thread...
      Thread is resumed.

      run(): after method invoke
        Original return type: "nsk.jvmti.ForceEarlyReturn.A"
      Actually returned type: "nsk.jvmti.ForceEarlyReturn.A"

      nsk.jvmti.ForceEarlyReturn.B => nsk.jvmti.ForceEarlyReturn.A
      TEST FAILED
      ----------System.err:(1/148)----------

            amenkov Alex Menkov
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: