commit | 216d40dd5bc8b10013b644cc229f749c78818587 | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Wed Nov 19 21:57:26 2008 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Wed Nov 19 21:57:26 2008 +0000 |
tree | 5f98dd3cb7665dd14e689d9f6a2587d913035d76 | |
parent | 7d28a590763410962d71279fbe6ea2077c7b581a [diff] |
Avoid adding dependent bundles that have already been removed. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@719086 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 b13ee23..4bc6045 100644 --- a/framework/src/main/java/org/apache/felix/framework/Felix.java +++ b/framework/src/main/java/org/apache/felix/framework/Felix.java
@@ -3121,7 +3121,10 @@ depIdx++) { Bundle b = getBundle(Util.getBundleIdFromModuleId(dependents[depIdx].getId())); - list.add(b); + if (b != null) + { + list.add(b); + } } }