ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: # ignite-157-debug
Date Tue, 28 Apr 2015 08:45:03 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-157-debug a2a0d9386 -> 5feae41d6


# ignite-157-debug


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/5feae41d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/5feae41d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/5feae41d

Branch: refs/heads/ignite-157-debug
Commit: 5feae41d6af795641c2232f92828bcc1033a3ab7
Parents: a2a0d93
Author: sboikov <sboikov@gridgain.com>
Authored: Tue Apr 28 11:44:54 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Tue Apr 28 11:44:54 2015 +0300

----------------------------------------------------------------------
 .../java/org/apache/ignite/internal/util/GridJavaProcess.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/5feae41d/modules/core/src/main/java/org/apache/ignite/internal/util/GridJavaProcess.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/GridJavaProcess.java
b/modules/core/src/main/java/org/apache/ignite/internal/util/GridJavaProcess.java
index 0b0f27d..e66af71 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/GridJavaProcess.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/GridJavaProcess.java
@@ -156,7 +156,9 @@ public final class GridJavaProcess {
 
         log.info("Classpath: " + System.getenv("CLASSPATH"));
 
-        builder.environment().put("CLASSPATH", System.getenv("CLASSPATH"));
+
+        if (System.getenv("CLASSPATH") != null)
+            builder.environment().put("CLASSPATH", System.getenv("CLASSPATH"));
 
         Process proc = builder.start();
 


Mime
View raw message