changeset 55940:b4d37cf7b90e

8222741: jdi/EventQueue/remove/remove004 fails due to VMDisconnectedException Reviewed-by: cjplummer, jcbeyler
author gadams
date Mon, 22 Apr 2019 07:13:18 -0400
parents 0ab35668b4f4
children f203906d0dde
files test/hotspot/jtreg/vmTestbase/nsk/jdi/EventQueue/remove/remove004.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/hotspot/jtreg/vmTestbase/nsk/jdi/EventQueue/remove/remove004.java	Mon Apr 22 11:16:21 2019 +0200
+++ b/test/hotspot/jtreg/vmTestbase/nsk/jdi/EventQueue/remove/remove004.java	Mon Apr 22 07:13:18 2019 -0400
@@ -308,10 +308,10 @@
     //------------------------------------------------------  testing section
 
         log1("     TESTING BEGINS");
+        vm.resume();
 
         for (int i = 0; ; i++) {
 
-            vm.resume();
             breakpointForCommunication();
 
             int instruction = ((IntegerValue)