commit | 416a0a3eee644c5a752808b47bb42157c488e794 | [log] [tgz] |
---|---|---|
author | Thomas Watson <tjwatson@us.ibm.com> | Wed May 28 15:14:49 2014 -0500 |
committer | Thomas Watson <tjwatson@us.ibm.com> | Wed May 28 15:14:49 2014 -0500 |
tree | 49add07d48f0f252383860a4a51c36846f4ae35b | |
parent | 425f0e16f7f83c05603e5d62285fa8b81b57fde4 [diff] |
Bug 436073 - wrong application exit code in case of exception Change-Id: I6d7579a71774ba8460aa1cb73f1c0eaebd9f6640 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
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 2e12c6f..f78d55d 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 @@ 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); }