diff options
author | Thomas Watson | 2008-08-19 18:54:05 +0000 |
---|---|---|
committer | Thomas Watson | 2008-08-19 18:54:05 +0000 |
commit | 95767796ffe3da113dfc859ed3a42a931f5c4ea6 (patch) | |
tree | 5255e337160798b5ebaf1466bff9ba82fc6bc1b9 | |
parent | f1333e3a9f8e25b2e0768df7b431aadd61e2faa0 (diff) | |
download | rt.equinox.framework-95767796ffe3da113dfc859ed3a42a931f5c4ea6.tar.gz rt.equinox.framework-95767796ffe3da113dfc859ed3a42a931f5c4ea6.tar.xz rt.equinox.framework-95767796ffe3da113dfc859ed3a42a931f5c4ea6.zip |
Bug 244443 Implement SystemBundle (RFC 132) - add check for stopping.
-rw-r--r-- | bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/launch/Equinox.java | 2 |
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 0b677e8c9..f708608f3 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 @@ -61,7 +61,7 @@ public class Equinox implements SystemBundle { } public void init(Properties configuration) { - if ((getState() & (Bundle.ACTIVE | Bundle.STARTING)) != 0) + if ((getState() & (Bundle.ACTIVE | Bundle.STARTING | Bundle.STOPPING)) != 0) throw new IllegalStateException("Framework is active!!"); synchronized (this) { if (impl != null && impl.getState() != Bundle.INSTALLED) { |