jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1836676 - /jmeter/trunk/src/core/org/apache/jmeter/gui/action/Restart.java
Date Wed, 25 Jul 2018 21:31:19 GMT
Author: pmouawad
Date: Wed Jul 25 21:31:19 2018
New Revision: 1836676

URL: http://svn.apache.org/viewvc?rev=1836676&view=rev
Log:
Bug 61635 - Add a menu to restart JMeter
Avoid duplication
Bugzilla Id: 61635

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/Restart.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/action/Restart.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/action/Restart.java?rev=1836676&r1=1836675&r2=1836676&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/action/Restart.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/action/Restart.java Wed Jul 25 21:31:19 2018
@@ -107,7 +107,7 @@ public class Restart extends AbstractAct
         final StringBuilder cmd = new StringBuilder(java + " " + vmArgsOneLine);
 
         // program main and program arguments
-        String[] mainCommand = System.getProperty(SUN_JAVA_COMMAND).split(" ");
+        String[] mainCommand = javaCommand.split(" ");
         // program main is a jar
         if (mainCommand[0].endsWith(".jar")) {
             // if it's a jar, add -jar mainJar



Mime
View raw message