[Bug report] Runner constructs invalid command if parent process's arguments contain spaces (original) (raw)

Tomasz Grabiec tgrabiec at gmail.com
Fri May 3 03:25:37 PDT 2013


Hi,

2013/5/3 Aleksey Shipilev <aleksey.shipilev at oracle.com>:

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.

I checked on both Windows and Linux and it works fine.

Tomek



More information about the jmh-dev mailing list