summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlyn Normington2011-10-26 06:25:46 (EDT)
committer Hristo Iliev2011-11-15 08:07:12 (EST)
commit3d49e34dbcc0afe9d20e3de22073ec82925d1f6d (patch)
tree7c60ae6565aeb739c89695dab1418c987f9b5111
parentceb9c78b30cc73b234de82792ef18694ae93853c (diff)
downloadorg.eclipse.virgo.kernel-3d49e34dbcc0afe9d20e3de22073ec82925d1f6d.zip
org.eclipse.virgo.kernel-3d49e34dbcc0afe9d20e3de22073ec82925d1f6d.tar.gz
org.eclipse.virgo.kernel-3d49e34dbcc0afe9d20e3de22073ec82925d1f6d.tar.bz2
bug 357804: start auto-installed dependencies even when they have lazy activation policy
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StandardQuasiFramework.java11
1 files changed, 4 insertions, 7 deletions
diff --git a/org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StandardQuasiFramework.java b/org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StandardQuasiFramework.java
index 0eade93..ca1d5ad 100644
--- a/org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StandardQuasiFramework.java
+++ b/org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StandardQuasiFramework.java
@@ -374,13 +374,10 @@ final class StandardQuasiFramework implements QuasiFramework {
private void startBundle(Bundle bundle) throws BundleException {
if (!isFragmentBundle(bundle)) {
- String bundleActivationPolicy = (String) bundle.getHeaders().get(Constants.BUNDLE_ACTIVATIONPOLICY);
- if (bundleActivationPolicy == null) {
- try {
- bundle.start();
- } catch (BundleException be) {
- throw new BundleException("Failed to start bundle '" + bundle.getSymbolicName() + "' version '" + bundle.getVersion() + "'", be);
- }
+ try {
+ bundle.start();
+ } catch (BundleException be) {
+ throw new BundleException("Failed to start bundle '" + bundle.getSymbolicName() + "' version '" + bundle.getVersion() + "'", be);
}
}
}