EDIT: Looks like I was wrong, and in the end it could be Java. If you are using a Unix shell, this is probably just a globbing shell. However, it seems to do the exact same thing on Windows, which surprises me (since the Windows command line does not perform globalization by default).
Unfortunately, on Windows, normal quoting gives you the argument given, i.e. if you print args[0] by running
java ListArg '*'
it will contain a single quote. I am investigating if there is a way to disable this ... although this will work on a Unix shell.
EDIT: Hmm ... no luck so far managing the string only stars in Windows :(
source share