< prev index next >

test/hotspot/jtreg/vmTestbase/nsk/share/jdb/Launcher.java

Print this page
@@ -215,10 +215,13 @@
                         connect.append(arg);
                         connect.append("\"");
                      }
                  }
                  String cmdline = classToExecute + " " + ArgumentHandler.joinArguments(argumentHandler.getArguments(), " ");
+                 if (System.getProperty("main.wrapper") != null) {
+                     cmdline = MainWrapper.class.getName() + " " + System.getProperty("main.wrapper") +  " " + cmdline;
+                 }
                  connect.append(",main=" + cmdline.trim());
  
              }
  
  //            connect.append(quote);
< prev index next >