jdk/test/sun/security/krb5/runNameEquals.sh
changeset 15254 3997a6f357cb
parent 14786 a9f61e0cbe61
child 17435 ec797e955dca
--- a/jdk/test/sun/security/krb5/runNameEquals.sh	Fri Jan 11 12:27:57 2013 +0000
+++ b/jdk/test/sun/security/krb5/runNameEquals.sh	Fri Jan 11 20:19:55 2013 +0000
@@ -43,6 +43,10 @@
    exit 1
 fi
 
+if [ "${COMPILEJAVA}" = "" ]; then
+    COMPILEJAVA="${TESTJAVA}"
+fi
+
 NATIVE=false
 
 # set platform-dependent variables
@@ -73,7 +77,7 @@
 
 TEST=Krb5NameEquals
 
-${TESTJAVA}${FILESEP}bin${FILESEP}javac \
+${COMPILEJAVA}${FILESEP}bin${FILESEP}javac ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} \
     -d ${TESTCLASSES}${FILESEP} \
     ${TESTSRC}${FILESEP}${TEST}.java