15 # accompanied this code). 16 # 17 # You should have received a copy of the GNU General Public License version 18 # 2 along with this work; if not, write to the Free Software Foundation, 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 # 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 # 25 26 if [ "x$TESTJAVA" = x ]; then 27 TESTJAVA=$1; shift 28 TESTCLASSES=. 29 TESTSRC=. 30 fi 31 export TESTJAVA 32 33 case "`uname`" in Windows*|CYGWIN* ) PS=';';; *) PS=':';; esac 34 35 ${TESTJAVA}/bin/javac -d ${TESTCLASSES} -classpath ${TESTJAVA}/lib/tools.jar${PS}${TESTCLASSES} ${TESTSRC}/TestExtcheckArgs.java 36 rc=$? 37 if [ $rc != 0 ]; then 38 echo Compilation failure with exit status $rc 39 exit $rc 40 fi 41 42 ${TESTJAVA}/bin/java ${TESTVMOPTS} -classpath ${TESTJAVA}/lib/tools.jar${PS}${TESTCLASSES} TestExtcheckArgs 43 rc=$? 44 if [ $rc != 0 ]; then 45 echo Execution failure with exit status $rc 46 exit $rc 47 fi | 15 # accompanied this code). 16 # 17 # You should have received a copy of the GNU General Public License version 18 # 2 along with this work; if not, write to the Free Software Foundation, 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 # 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 # 25 26 if [ "x$TESTJAVA" = x ]; then 27 TESTJAVA=$1; shift 28 TESTCLASSES=. 29 TESTSRC=. 30 fi 31 export TESTJAVA 32 33 case "`uname`" in Windows*|CYGWIN* ) PS=';';; *) PS=':';; esac 34 35 ${TESTJAVA}/bin/javac ${TESTTOOLVMOPTS} ${TESTJAVACOPTS} -d ${TESTCLASSES} -classpath ${TESTJAVA}/lib/tools.jar${PS}${TESTCLASSES} ${TESTSRC}/TestExtcheckArgs.java 36 rc=$? 37 if [ $rc != 0 ]; then 38 echo Compilation failure with exit status $rc 39 exit $rc 40 fi 41 42 ${TESTJAVA}/bin/java ${TESTVMOPTS} ${TESTJAVAOPTS} -classpath ${TESTJAVA}/lib/tools.jar${PS}${TESTCLASSES} TestExtcheckArgs 43 rc=$? 44 if [ $rc != 0 ]; then 45 echo Execution failure with exit status $rc 46 exit $rc 47 fi |