felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1185044 - /felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/ComponentImpl.java
Date Mon, 17 Oct 2011 09:03:19 GMT
Author: marrs
Date: Mon Oct 17 09:03:19 2011
New Revision: 1185044

URL: http://svn.apache.org/viewvc?rev=1185044&view=rev
Log:
Bugfix for an IllegalStateException that occurred in the shell command because of propagated
configuration items not being available. Added an explicit check.

Modified:
    felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/ComponentImpl.java

Modified: felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/ComponentImpl.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/ComponentImpl.java?rev=1185044&r1=1185043&r2=1185044&view=diff
==============================================================================
--- felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/ComponentImpl.java
(original)
+++ felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/ComponentImpl.java
Mon Oct 17 09:03:19 2011
@@ -863,7 +863,7 @@ public class ComponentImpl implements Co
 		addTo(properties, m_serviceProperties);
 		for (int i = 0; i < m_dependencies.size(); i++) {
 			Dependency d = (Dependency) m_dependencies.get(i);
-			if (d.isPropagated()) {
+			if (d.isPropagated() && d.isAvailable()) {
 				Dictionary dict = d.getProperties();
 				addTo(properties, dict);
 			}



Mime
View raw message