--- old/src/share/classes/java/lang/ProcessBuilder.java Thu Apr 14 12:35:38 2011 +++ new/src/share/classes/java/lang/ProcessBuilder.java Thu Apr 14 12:35:37 2011 @@ -936,8 +936,13 @@ *

This method checks that the command is a valid operating * system command. Which commands are valid is system-dependent, * but at the very least the command must be a non-empty list of - * non-null strings. + * non-null strings. * + *

A minimal set of system dependent environment variables may + * be required to start a process on some operating systems. + * As a result, the subprocess may inherit additional environment variable + * settings beyond those in the process builder's {@link #environment()}. + * *

If there is a security manager, its * {@link SecurityManager#checkExec checkExec} * method is called with the first component of this object's