hotspot/agent/test/jdi/sasanity.sh
changeset 8725 8c1e3dd5fe1b
parent 5547 f4b087cbb361
child 10546 e79347eebbc5
--- a/hotspot/agent/test/jdi/sasanity.sh	Fri Mar 18 15:52:42 2011 -0700
+++ b/hotspot/agent/test/jdi/sasanity.sh	Fri Mar 18 16:00:34 2011 -0700
@@ -43,6 +43,7 @@
 fi
 
 jdk=$1
+shift
 OS=`uname`
 
 if [ "$OS" != "Linux" ]; then
@@ -68,7 +69,7 @@
 
 tmp=/tmp/sagsetup
 rm -f $tmp
-$jdk/bin/java sagtarg > $tmp &
+$jdk/bin/java $* sagtarg > $tmp &
 pid=$!
 while [ ! -s $tmp ] ; do
   # Kludge alert!