felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickh...@apache.org
Subject svn commit: r425758 - /incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/Felix.java
Date Wed, 26 Jul 2006 15:12:48 GMT
Author: rickhall
Date: Wed Jul 26 08:12:48 2006
New Revision: 425758

URL: http://svn.apache.org/viewvc?rev=425758&view=rev
Log:
The _resolveBundle() method was mistakenly setting the bundle's state to
RESOLVED, which was causing problems if the bundle was already active when
resolve was called. The RESOLVED state is automatically set as a result
of a RESOLVED event from the resolver and does not need to be set here.

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

Modified: incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/Felix.java
URL: http://svn.apache.org/viewvc/incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/Felix.java?rev=425758&r1=425757&r2=425758&view=diff
==============================================================================
--- incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/Felix.java
(original)
+++ incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/Felix.java
Wed Jul 26 08:12:48 2006
@@ -1320,7 +1320,7 @@
             }
         }
 
-        bundle.getInfo().setState(Bundle.RESOLVED);
+//        bundle.getInfo().setState(Bundle.RESOLVED);
     }
 
     protected void updateBundle(BundleImpl bundle, InputStream is)



Mime
View raw message