diff options
author | Andrew Niefer | 2006-12-11 20:20:05 +0000 |
---|---|---|
committer | Andrew Niefer | 2006-12-11 20:20:05 +0000 |
commit | 67c0407d4a1b5d4542a080d051f5ce383b609702 (patch) | |
tree | 53aee353ce2e9b3b7ae49c2ed6201acb56bb5ffd /bundles | |
parent | 157b2215279244dd8cfb3b022b72f714e902e0eb (diff) | |
download | rt.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.java | 1 |
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)) |