[20138] in Athena Bugs

home help back first fref pref prev next nref lref last post

linux 9.0.18: java_v1.3.1_02

daemon@ATHENA.MIT.EDU (Christopher Lesniewski-Laas)
Thu Jan 31 04:20:54 2002

Message-Id: <200201310920.EAA07329@alice-whacker.mit.edu>
To: bugs@MIT.EDU
Date: Thu, 31 Jan 2002 04:20:51 -0500
From: Christopher Lesniewski-Laas <golem@MIT.EDU>

System name:		alice-whacker.mit.edu
Type and version:	i686 9.0.18 (with mkserv)
Display type:		XFree86 4.0.3 

Shell:			/afs/sipb/project/sipb/bin/zsh
Window manager:		unknown

What were you trying to do?

Run the java interpreter from the java locker.


What's wrong:

The wrapper script uses $* instead of "$@".  This results in arguments
containing white space being split before they reach the java
interpreter.
E.g.
java Foo "   foo bar   "
results in passing args = { "foo",  "bar" } to the program.


What should have happened:
Should have got args = { "   foo bar   " }


Please describe any relevant documentation references:
'()


--Chris

home help back first fref pref prev next nref lref last post