--- old/test/sun/tools/jrunscript/jrunscript-cpTest.sh 2014-01-26 11:38:09.236796670 +0800 +++ new/test/sun/tools/jrunscript/jrunscript-cpTest.sh 2014-01-26 11:38:09.080796672 +0800 @@ -33,14 +33,14 @@ . ${TESTSRC-.}/common.sh setup -${JAVA} -cp ${TESTCLASSES} CheckEngine +${JAVA} ${TESTVMOPTS} ${TESTJAVAOPTS} -cp ${TESTCLASSES} CheckEngine if [ $? -eq 2 ]; then echo "No js engine found and engine not required; test vacuously passes." exit 0 fi rm -f Hello.class -${JAVAC} ${TESTSRC}/Hello.java -d . +${JAVAC} ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} ${TESTSRC}/Hello.java -d . # we check whether classpath setting for app classes # work with jrunscript. Script should be able to