jdk/test/sun/security/pkcs11/Provider/ConfigQuotedString.sh
changeset 15254 3997a6f357cb
parent 14786 a9f61e0cbe61
child 21948 e8a1289096cd
--- a/jdk/test/sun/security/pkcs11/Provider/ConfigQuotedString.sh	Fri Jan 11 12:27:57 2013 +0000
+++ b/jdk/test/sun/security/pkcs11/Provider/ConfigQuotedString.sh	Fri Jan 11 20:19:55 2013 +0000
@@ -41,9 +41,13 @@
 if [ "${TESTJAVA}" = "" ] ; then
     TESTJAVA="/net/radiant/export1/charlie/mustang/build/solaris-sparc"
 fi
+if [ "${COMPILEJAVA}" = "" ]; then
+    COMPILEJAVA="${TESTJAVA}"
+fi
 echo TESTSRC=${TESTSRC}
 echo TESTCLASSES=${TESTCLASSES}
 echo TESTJAVA=${TESTJAVA}
+echo COMPILEJAVA=${COMPILEJAVA}
 echo ""
 
 # let java test exit if platform unsupported
@@ -92,7 +96,7 @@
 
 # compile test
 
-${TESTJAVA}${FS}bin${FS}javac \
+${COMPILEJAVA}${FS}bin${FS}javac ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} \
         -classpath ${TESTSRC}${FS}.. \
         -d ${TESTCLASSES} \
         ${TESTSRC}${FS}ConfigQuotedString.java