Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2010-02-22 16:49:35 +0000
committerThomas Watson2010-02-22 16:49:35 +0000
commit8cebda7243b670f52c8cc2408079e907fd500662 (patch)
treed701fac0f20490189d672c801e8054349aebc5fc /bundles/org.eclipse.osgi
parent0294b23b13e685fe543bacfce545c37dab6ca26e (diff)
downloadrt.equinox.framework-8cebda7243b670f52c8cc2408079e907fd500662.tar.gz
rt.equinox.framework-8cebda7243b670f52c8cc2408079e907fd500662.tar.xz
rt.equinox.framework-8cebda7243b670f52c8cc2408079e907fd500662.zip
Bug 303515 - EquinoxFactory should copy configuration and handle null inputv20100222
Diffstat (limited to 'bundles/org.eclipse.osgi')
-rw-r--r--bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/launch/Equinox.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/launch/Equinox.java b/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/launch/Equinox.java
index d000b28c1..3d6e280c0 100644
--- a/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/launch/Equinox.java
+++ b/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/launch/Equinox.java
@@ -41,7 +41,7 @@ public class Equinox implements Framework {
if (sm != null)
sm.checkPermission(new AllPermission());
useSeparateCL = FrameworkProperties.inUse();
- this.configuration = configuration;
+ this.configuration = configuration == null ? Collections.EMPTY_MAP : new HashMap(configuration);
}
private Framework createImpl() {

Back to the top