8005325: The script should use TESTVMOPTS
Summary: Put back TESTVMOPTS which was removed by mistake.
Reviewed-by: smarks
--- 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 $*
}