jdk/test/java/util/ServiceLoader/basic.sh
changeset 14786 a9f61e0cbe61
parent 14342 8435a30053c1
child 15254 3997a6f357cb
--- a/jdk/test/java/util/ServiceLoader/basic.sh	Thu Dec 13 09:37:29 2012 -0500
+++ b/jdk/test/java/util/ServiceLoader/basic.sh	Thu Dec 13 14:47:35 2012 +0000
@@ -94,7 +94,7 @@
   cp="$1"; shift
   if [ -z "$cp" ]; then cp="$TESTCLASSES"; else cp="$TESTCLASSES$SEP$cp"; fi
   vmargs="$1"; shift
-  sh -xc "'$JAVA' -cp $cp $vmargs $T $*" 2>&1
+  sh -xc "'$JAVA' ${TESTVMOPTS} -cp $cp $vmargs $T $*" 2>&1
   if [ $? != 0 ]; then failures=`expr $failures + 1`; fi
 }