Am 15.04.2011 11:54, schrieb Alan Bateman:
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.
... and then on some versions of MSVCRT.DLL the whole thing will crash ??
Again I ask if we shouldn't disallow to user-define the "SystemRoot" variable
on Windows?
Imagine someone has set the variable to "C:\WINDOWS", but the correct value is
"D:\WINDOWS".
-Ulf