test/java/awt/appletviewer/IOExceptionIfEncodedURLTest/IOExceptionIfEncodedURLTest.sh

Print this page

        

@@ -187,11 +187,11 @@
    echo "Just a reminder: cd to the dir containing this test when running it"
    # then compile all .java files (if there are any) into .class files
    if [ -a *.java ] ;
       then echo "Reminder, this test should be in its own directory with all"
       echo "supporting files it needs in the directory with it."
-      ${TESTJAVA}/bin/javac ./*.java ;
+      ${TESTJAVA}/bin/javac ${TESTTOOLVMOPTS} ${TESTJAVACOPTS} ./*.java ;
    fi
    # else in harness so copy all the class files from where jtreg put them
    # over to the scratch directory this test is running in.
    else cp ${TESTCLASSES}/*.class . ;
 fi