--- a/jdk/test/tools/launcher/MultipleJRE.sh Fri Jan 11 12:27:57 2013 +0000
+++ b/jdk/test/tools/launcher/MultipleJRE.sh Fri Jan 11 20:19:55 2013 +0000
@@ -37,6 +37,10 @@
exit 1
fi
+if [ "${COMPILEJAVA}" = "" ]; then
+ COMPILEJAVA="${TESTJAVA}"
+fi
+
if [ "${TESTSRC}" = "" ]
then
echo "TESTSRC not set. Test cannot execute. Failed."
@@ -51,7 +55,7 @@
JAVAEXE="$TESTJAVA/bin/java ${TESTVMOPTS}"
JAVA="$TESTJAVA/bin/java ${TESTVMOPTS} -classpath $TESTCLASSES"
-JAR="$TESTJAVA/bin/jar"
+JAR="$COMPILEJAVA/bin/jar ${TESTTOOLVMOPTS}"
OS=`uname -s`;
#