[Bug report] Runner constructs invalid command if parent process's arguments contain spaces
Aleksey Shipilev
aleksey.shipilev at oracle.com
Fri May 3 01:58:01 PDT 2013
On 05/03/2013 12:20 AM, Aleksey Shipilev wrote:
> On 05/01/2013 03:13 PM, Tomasz Grabiec wrote:
>> The latest version fixes the problem on Windows. However I tried the
>> same thing on Linux today and it seems that it's broken now:
>
> Awww. I had reverted my fix back, it also breaks other running modes (as
> innocuous as asking for "-verbose:gc"). Unfortunately, the proper fix
> requires rethinking how we deal with bash/cmd, java launcher, etc, and
> it could take a while.
Ok, I pushed yet another fix into the repo. I double-checked the quoted
options like -Dtest="asdf jkl" are now working. So, assuming your
environments are passing the arguments indivisibly to the underlying
processes, it should be fine.
Tomasz, can you check it still fixes your use cases?
-Aleksey.
More information about the jmh-dev
mailing list