nsk/jvmti/ tests should fail when nsk_jvmti_setFailStatus() is called

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 25
    • Affects Version/s: 25
    • Component/s: hotspot
    • b16
    • Fix failed

      The tests uses nsk_jvmti_setFailStatus() in
      Agent_OnUnload(..)
      or in VMDeath event handled.

      However it is too late and test never checks this code.

      It is also needed to always verify that status is checked.

      Better to fail early. No need to complete. clean up tests if they are failed.

      Test test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/events/EM04/em04t001/em04t001.cp
      should be updated to destroy locks earlier.

            Assignee:
            Leonid Mesnik
            Reporter:
            Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: