Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Lippert2008-07-30 20:52:19 +0000
committerMartin Lippert2008-07-30 20:52:19 +0000
commit1e88d197e21ebc6ad6a77e8bb213c19460e5766f (patch)
tree8612c307d363ee17d687cd72c91cc495b20c0883
parentea9ee2cb6c1ca120145aa1deff3e3b82440fb302 (diff)
downloadrt.equinox.bundles-1e88d197e21ebc6ad6a77e8bb213c19460e5766f.tar.gz
rt.equinox.bundles-1e88d197e21ebc6ad6a77e8bb213c19460e5766f.tar.xz
rt.equinox.bundles-1e88d197e21ebc6ad6a77e8bb213c19460e5766f.zip
Bug 229865 - [aspects] fix the handling for dynamically uninstalling aspect bundles, made standard caching aware of bundle updates
-rw-r--r--bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/SingletonCachingService.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/SingletonCachingService.java b/bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/SingletonCachingService.java
index c48473767..e5ac0a456 100644
--- a/bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/SingletonCachingService.java
+++ b/bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/SingletonCachingService.java
@@ -52,6 +52,8 @@ public class SingletonCachingService extends BaseCachingService {
public void bundleChanged(final BundleEvent event) {
if (event.getType() == BundleEvent.UNINSTALLED) {
stopBundleCachingService(event);
+ } else if (event.getType() == BundleEvent.UPDATED) {
+ stopBundleCachingService(event);
}
}
});

Back to the top