Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhseeberger2008-08-06 12:07:08 +0000
committerhseeberger2008-08-06 12:07:08 +0000
commit3e831c7efa41da4073cf895358eb9e52070bd1ce (patch)
tree6673f7c804f93652300399de0d990aa6b740b0d4
parentb021c231440d49aebef87cd2a5f01b9f95f795ab (diff)
downloadrt.equinox.bundles-3e831c7efa41da4073cf895358eb9e52070bd1ce.tar.gz
rt.equinox.bundles-3e831c7efa41da4073cf895358eb9e52070bd1ce.tar.xz
rt.equinox.bundles-3e831c7efa41da4073cf895358eb9e52070bd1ce.zip
Enhancements for service dynamics.v200808061839
-rw-r--r--bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/service/weaving/SupplementerRegistry.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/service/weaving/SupplementerRegistry.java b/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/service/weaving/SupplementerRegistry.java
index cd21e49e4..213da49ac 100644
--- a/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/service/weaving/SupplementerRegistry.java
+++ b/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/service/weaving/SupplementerRegistry.java
@@ -252,17 +252,7 @@ public class SupplementerRegistry {
+ bundle.getSymbolicName());
try {
- final int initialstate = (bundle.getState() & (Bundle.ACTIVE | Bundle.STARTING));
- // TODO Why stop? Shouldn't start again?
- boolean wasStopped = false;
- if (initialstate != 0
- && packageAdmin != null
- && packageAdmin.getBundleType(bundle) != PackageAdmin.BUNDLE_TYPE_FRAGMENT) {
- wasStopped = true;
- bundle.stop(Bundle.STOP_TRANSIENT);
- }
bundle.update();
- if (wasStopped) bundle.start(Bundle.START_TRANSIENT);
} catch (final BundleException e) {
e.printStackTrace();
}

Back to the top