Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/PackageAdminImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/PackageAdminImpl.java b/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/PackageAdminImpl.java
index 9cd816739..6fbe64c45 100644
--- a/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/PackageAdminImpl.java
+++ b/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/PackageAdminImpl.java
@@ -176,13 +176,13 @@ public class PackageAdminImpl implements PackageAdmin {
BundleDescription description = bundles[i].getBundleDescription();
if (description != null && description.getBundleId() != 0 && !results.contains(description))
results.add(description);
- // add in any singleton bundles if needed
+ // add in any bundles that have the same symbolic name see bug (169593)
AbstractBundle[] sameNames = framework.bundles.getBundles(bundles[i].getSymbolicName());
if (sameNames != null && sameNames.length > 1) {
for (int j = 0; j < sameNames.length; j++)
if (sameNames[j] != bundles[i]) {
BundleDescription sameName = sameNames[j].getBundleDescription();
- if (sameName != null && sameName.getBundleId() != 0 && sameName.isSingleton() && !results.contains(sameName))
+ if (sameName != null && sameName.getBundleId() != 0 && !results.contains(sameName))
results.add(sameName);
}
}

Back to the top