diff options
author | Thomas Watson | 2014-09-08 18:09:14 +0000 |
---|---|---|
committer | Thomas Watson | 2014-09-08 18:09:14 +0000 |
commit | bc039ffcfc419c4e64ba6fc8fe1de3592bd160e9 (patch) | |
tree | 0ccf59c7b8214bc99a90f9ff3128c9e11e7ca5da /bundles | |
parent | 16c2cef6b6e7504e5449243855225477a74f70d4 (diff) | |
download | rt.equinox.framework-bc039ffcfc419c4e64ba6fc8fe1de3592bd160e9.tar.gz rt.equinox.framework-bc039ffcfc419c4e64ba6fc8fe1de3592bd160e9.tar.xz rt.equinox.framework-bc039ffcfc419c4e64ba6fc8fe1de3592bd160e9.zip |
Bug 443340 - Fix to set osgi.checkConfiguration if osgi.dev is set
Change-Id: Iae75f4c0be9d916fbae1ffe5cbe0aee934ab0026
Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
Diffstat (limited to 'bundles')
-rw-r--r-- | bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxConfiguration.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxConfiguration.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxConfiguration.java index 159887491..52a4d4a7c 100644 --- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxConfiguration.java +++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxConfiguration.java @@ -283,6 +283,10 @@ public class EquinoxConfiguration implements EnvironmentInfo { // A specified osgi.dev property but unspecified osgi.checkConfiguration // property implies osgi.checkConfiguration = true. inCheckConfigurationMode = Boolean.valueOf(getConfiguration(PROP_CHECK_CONFIGURATION, Boolean.toString(devMode))); + // Must ensure the check configuration property is set if in osgi.dev mode (bug 443340) + if (inCheckConfigurationMode && getConfiguration(PROP_CHECK_CONFIGURATION) == null) { + setConfiguration(PROP_CHECK_CONFIGURATION, "true"); //$NON-NLS-1$ + } } public Map<String, Object> getInitialConfig() { |