Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2014-05-28 20:14:49 +0000
committerThomas Watson2014-05-28 20:14:49 +0000
commit416a0a3eee644c5a752808b47bb42157c488e794 (patch)
tree49add07d48f0f252383860a4a51c36846f4ae35b /bundles/org.eclipse.osgi
parent425f0e16f7f83c05603e5d62285fa8b81b57fde4 (diff)
downloadrt.equinox.framework-416a0a3eee644c5a752808b47bb42157c488e794.tar.gz
rt.equinox.framework-416a0a3eee644c5a752808b47bb42157c488e794.tar.xz
rt.equinox.framework-416a0a3eee644c5a752808b47bb42157c488e794.zip
Bug 436073 - wrong application exit code in case of exceptionI20140602-2000I20140601-2000I20140531-1500I20140530-2000I20140528-2000
Change-Id: I6d7579a71774ba8460aa1cb73f1c0eaebd9f6640 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
Diffstat (limited to 'bundles/org.eclipse.osgi')
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/core/runtime/adaptor/EclipseStarter.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/core/runtime/adaptor/EclipseStarter.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/core/runtime/adaptor/EclipseStarter.java
index 2e12c6fc7..f78d55dbe 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/core/runtime/adaptor/EclipseStarter.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/core/runtime/adaptor/EclipseStarter.java
@@ -169,6 +169,9 @@ public class EclipseStarter {
if (equinoxConfig != null) {
return equinoxConfig.setProperty(key, value);
}
+ if ("true".equals(getConfiguration().get(EquinoxConfiguration.PROP_USE_SYSTEM_PROPERTIES))) { //$NON-NLS-1$
+ System.setProperty(key, value);
+ }
return getConfiguration().put(key, value);
}

Back to the top