[Sablevm-developer] Bug#238651: java-sablevm dequotes parameters
Brought to you by:
egagnon
From: Ilguiz L. <ila...@in...> - 2004-03-18 08:24:15
|
Package: sablevm Version: 1.1.0-5 The /usr/bin/java-sablevm shell script dequotes parameters submitted by the user's command line. E.g., running java mypackage.MyApp "select * from table" will yield only the word "select" in args[1] of the MyApp's main(String args[]) method. I believe the lines $echo $JVM -Y $CLASSPATH $OPTS $REST $@ $exec $JVM -Y $CLASSPATH $OPTS $REST $@ can be replaced with $echo $JVM -Y $CLASSPATH $OPTS $REST "$@" $exec $JVM -Y $CLASSPATH $OPTS $REST "$@" Also, the line EST="$REST $1" should probably read REST="$REST $1" Regards, -- Ilguiz Latypov tel. +1 (519) 569-8746 66 Wildlark Crescent Kitchener, Ontario N2N 3E9 |