jdk/test/java/lang/instrument/RetransformBigClass.sh
changeset 15254 3997a6f357cb
parent 11359 9e53808b2128
child 18151 bd65ac25937c
--- a/jdk/test/java/lang/instrument/RetransformBigClass.sh	Fri Jan 11 12:27:57 2013 +0000
+++ b/jdk/test/java/lang/instrument/RetransformBigClass.sh	Fri Jan 11 20:19:55 2013 +0000
@@ -38,6 +38,12 @@
   exit 1
 fi
 
+if [ "${COMPILEJAVA}" = "" ]
+then
+  COMPILEJAVA="${TESTJAVA}"
+fi
+echo "COMPILEJAVA=${COMPILEJAVA}"
+
 if [ "${TESTSRC}" = "" ]
 then
   echo "TESTSRC not set.  Test cannot execute.  Failed."
@@ -50,7 +56,7 @@
   exit 1
 fi
 
-JAVAC="${TESTJAVA}"/bin/javac
+JAVAC="${COMPILEJAVA}"/bin/javac
 JAVA="${TESTJAVA}"/bin/java
 
 "${JAVA}" ${TESTVMOPTS} \