Review request for 7034570 - java.lang.Runtime.exec(String[] cmd, String[] env) can not work properly if SystemRoot not inherited

Ulf Zibis Ulf.Zibis at
Mon Apr 18 17:40:21 UTC 2011

Am 15.04.2011 15:43, schrieb Michael McMahon:
> I have incorporated much of Ulf's approach into this version.
> I agree with Alan about the spec. We could find other variables in the future that need
> to be set, but can have alternative values other than the default. I think this approach
> is the most flexible.

Additionally I see another problem:

Because the ProcessEnvironment.nameComparator is static, creating a new Process will not be thread-safe!


More information about the core-libs-dev mailing list