8222741: jdi/EventQueue/remove/remove004 fails due to VMDisconnectedException
authorgadams
Mon, 22 Apr 2019 07:13:18 -0400
changeset 54587 b4d37cf7b90e
parent 54586 0ab35668b4f4
child 54588 f203906d0dde
child 57337 b6e387059896
8222741: jdi/EventQueue/remove/remove004 fails due to VMDisconnectedException Reviewed-by: cjplummer, jcbeyler
test/hotspot/jtreg/vmTestbase/nsk/jdi/EventQueue/remove/remove004.java
--- 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)