Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2006-11-01 15:38:52 -0500
committerThomas Watson2006-11-01 15:38:52 -0500
commit83837bff498dfe5a7899859bf7f38c50fac171ab (patch)
tree15f0c46ba05987726f5575e8d2c33ce3d5fb7155
parentac8b7b17f637f3eb1e7cf670fe8e93dc5bdcafed (diff)
downloadrt.equinox.framework-R32x_v20061101.tar.gz
rt.equinox.framework-R32x_v20061101.tar.xz
rt.equinox.framework-R32x_v20061101.zip
Bug 163106 GenericDescription leak in ResolverR32x_v20061101
-rw-r--r--bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/module/ResolverImpl.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/module/ResolverImpl.java b/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/module/ResolverImpl.java
index 78f62794c..eaf54b7eb 100644
--- a/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/module/ResolverImpl.java
+++ b/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/module/ResolverImpl.java
@@ -948,6 +948,8 @@ public class ResolverImpl implements org.eclipse.osgi.service.resolver.Resolver
return;
if (bundle.getBundle().isResolved()) {
resolverExports.remove(bundle.getExportPackages());
+ if (removed)
+ resolverGenerics.remove(bundle.getGenericCapabilities());
bundle.initialize(false);
if (!removed)
resolverExports.put(bundle.getExportPackages());

Back to the top