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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 25
    • hotspot

      REDO of JDK-8351375

      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
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: