Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2006-12-11 20:20:05 +0000
committerAndrew Niefer2006-12-11 20:20:05 +0000
commit67c0407d4a1b5d4542a080d051f5ce383b609702 (patch)
tree53aee353ce2e9b3b7ae49c2ed6201acb56bb5ffd /bundles
parent157b2215279244dd8cfb3b022b72f714e902e0eb (diff)
downloadrt.equinox.framework-67c0407d4a1b5d4542a080d051f5ce383b609702.tar.gz
rt.equinox.framework-67c0407d4a1b5d4542a080d051f5ce383b609702.tar.xz
rt.equinox.framework-67c0407d4a1b5d4542a080d051f5ce383b609702.zip
fix NPE
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
index d4adb40fb..3a2a03613 100644
--- a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
+++ b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
@@ -263,6 +263,7 @@ public class Main {
private String getWS() {
if(ws != null)
return ws;
+ String os = getOS();
if (os.equals(Constants.OS_WIN32))
return Constants.WS_WIN32;
if (os.equals(Constants.OS_LINUX))

Back to the top