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);
     }