Stupid NPE fixed

This commit is contained in:
Roman Shevchenko
2013-04-24 22:19:08 +02:00
parent 4409b11a08
commit f39dcca32e
@@ -164,7 +164,9 @@ public class JdkUtil {
commandLine.setExePath(exePath);
final ParametersList vmParametersList = javaParameters.getVMParametersList();
commandLine.getEnvironment().putAll(javaParameters.getEnv());
if (javaParameters.getEnv() != null) {
commandLine.getEnvironment().putAll(javaParameters.getEnv());
}
commandLine.setPassParentEnvironment(javaParameters.isPassParentEnvs());
final Class commandLineWrapper;