commit | 4d28b7b4ac1107cedf05c058487b47f25e3e524e | [log] [tgz] |
---|---|---|
author | Karl Pauls <pauls@apache.org> | Sun Nov 01 16:43:29 2009 +0000 |
committer | Karl Pauls <pauls@apache.org> | Sun Nov 01 16:43:29 2009 +0000 |
tree | 2bd1989e78d4c59f8f4ae84b879e8ac579aa8c39 | |
parent | 6c369667555c81ff99fe530ef08ef4c641442d49 [diff] |
Rollback the change about throwing an excepiton if trying to stop the systembundle while it is still starting as we have to work on a better solution. (FELIX-1812, FELIX-1816) git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@831700 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/Felix.java b/framework/src/main/java/org/apache/felix/framework/Felix.java index a80c675..5ccae0e 100644 --- a/framework/src/main/java/org/apache/felix/framework/Felix.java +++ b/framework/src/main/java/org/apache/felix/framework/Felix.java
@@ -761,14 +761,6 @@ AdminPermission.EXECUTE)); } - synchronized (m_bundleLock) - { - if ((getState() & (STARTING | STOPPING)) != 0) - { - throw new BundleException("Can't stop the system bundle while it is either starting or stopping."); - } - } - stopBundle(this, true); }