Review request for 7034570 - java.lang.Runtime.exec(String[] cmd, String[] env) can not work properly if SystemRoot not inherited
Michael McMahon
michael.x.mcmahon at oracle.com
Fri Apr 15 09:59:13 UTC 2011
Alan Bateman wrote:
> Michael McMahon wrote:
>>
>> On Windows, we are ensuring that SystemRoot will at a minimum always
>> be set.
> Don't you still have the corner case where Runtime.exec is invoked
> with an empty array and SystemRoot is not in the environment (launched
> by an older JDK for example)? In that case we can't make SystemRoot
> available to the child process either.
>
Yes, that's right.
Thanks,
Michael
More information about the core-libs-dev
mailing list