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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 25
    • 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.

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

              Created:
              Updated:
              Resolved: