jdk/test/java/io/FileOutputStream/FileOpen.sh
changeset 15254 3997a6f357cb
parent 14786 a9f61e0cbe61
--- a/jdk/test/java/io/FileOutputStream/FileOpen.sh	Fri Jan 11 12:27:57 2013 +0000
+++ b/jdk/test/java/io/FileOutputStream/FileOpen.sh	Fri Jan 11 20:19:55 2013 +0000
@@ -46,8 +46,10 @@
            echo "Could not find the directory-" ${TMP} "- passing test"
 	   exit 0;
 	fi
-	${TESTJAVA}/bin/javac -d . ${TESTSRC}\\FileOpenPos.java
-	${TESTJAVA}/bin/javac -d . ${TESTSRC}\\FileOpenNeg.java
+	${COMPILEJAVA}/bin/javac ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} -d . \
+	    ${TESTSRC}\\FileOpenPos.java
+	${COMPILEJAVA}/bin/javac ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} -d . \
+	    ${TESTSRC}\\FileOpenNeg.java
 
 	echo "Opening Writable Normal File.."
 	${TESTJAVA}/bin/java ${TESTVMOPTS} FileOpenPos ${hfile}