[Bug report] Runner constructs invalid command if parent process's arguments contain spaces
Aleksey Shipilev
aleksey.shipilev at oracle.com
Mon Apr 29 09:28:57 PDT 2013
On 04/29/2013 06:03 PM, Tomasz Grabiec wrote:
> The problem is not limited to using IntelliJ but results from the fact
> IntelliJ runner sets some java properties to paths which contain spaces:
> -Didea.launcher.bin.path=C:\Program Files (x86)...
Thanks for the bug report! Yes, these should be escaped (in fact, JMH
already escapes the forked classpath). Please check out the latest
revision and try again.
-Aleksey.
P.S. Please consider to have the OCA signed as per
http://openjdk.java.net/contribute/, otherwise we would not be able to
use the code you will post in the future in the OpenJDK. (It is not the
case for this particular issue, because the the fix does not use your
patch).
More information about the jmh-dev
mailing list