8005325: The script should use TESTVMOPTS
authorsjiang
Fri, 21 Dec 2012 10:58:20 +0100
changeset 14921 e840a91b954b
parent 14920 05b980d6cdd7
child 14922 fdb5ce96f459
8005325: The script should use TESTVMOPTS Summary: Put back TESTVMOPTS which was removed by mistake. Reviewed-by: smarks
jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.sh
--- a/jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.sh	Fri Dec 21 09:27:37 2012 +0100
+++ b/jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.sh	Fri Dec 21 10:58:20 2012 +0100
@@ -61,7 +61,7 @@
 }
 
 _app_start(){
-  ${TESTJAVA}/bin/java -server $* -cp ${_testclasses} JMXStartStopDoSomething  >> ${_logname} 2>&1 &
+  ${TESTJAVA}/bin/java ${TESTVMOPTS} $* -cp ${_testclasses} JMXStartStopDoSomething  >> ${_logname} 2>&1 &
 
   x=0
   while [ ! -f ${_lockFileName} ]
@@ -110,7 +110,7 @@
 }
 
 _testme(){
-  ${TESTJAVA}/bin/java -cp ${_testclasses} JMXStartStopTest $*
+  ${TESTJAVA}/bin/java ${TESTVMOPTS} -cp ${_testclasses} JMXStartStopTest $*
 }