felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject svn commit: r831700 - /felix/trunk/framework/src/main/java/org/apache/felix/framework/Felix.java
Date Sun, 01 Nov 2009 16:43:29 GMT
Author: pauls
Date: Sun Nov  1 16:43:29 2009
New Revision: 831700

URL: http://svn.apache.org/viewvc?rev=831700&view=rev
Log:
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)

Modified:
    felix/trunk/framework/src/main/java/org/apache/felix/framework/Felix.java

Modified: felix/trunk/framework/src/main/java/org/apache/felix/framework/Felix.java
URL: http://svn.apache.org/viewvc/felix/trunk/framework/src/main/java/org/apache/felix/framework/Felix.java?rev=831700&r1=831699&r2=831700&view=diff
==============================================================================
--- felix/trunk/framework/src/main/java/org/apache/felix/framework/Felix.java (original)
+++ felix/trunk/framework/src/main/java/org/apache/felix/framework/Felix.java Sun Nov  1 16:43:29
2009
@@ -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);
     }
 



Mime
View raw message