Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2010-02-08 22:36:23 +0000
committerThomas Watson2010-02-08 22:36:23 +0000
commit43b2f49229f1f66f824a88daec18b501dbd5215b (patch)
tree9863c78da11f2d462492a70bd76a9d49adbeadf7 /bundles/org.eclipse.osgi
parent44b746091fe5d7f7b2268200c7865b5527be6239 (diff)
downloadrt.equinox.framework-43b2f49229f1f66f824a88daec18b501dbd5215b.tar.gz
rt.equinox.framework-43b2f49229f1f66f824a88daec18b501dbd5215b.tar.xz
rt.equinox.framework-43b2f49229f1f66f824a88daec18b501dbd5215b.zip
Bug 298416 - BundleContext.installBundle is not atomicv20100208
Diffstat (limited to 'bundles/org.eclipse.osgi')
-rw-r--r--bundles/org.eclipse.osgi/defaultAdaptor/src/org/eclipse/osgi/internal/baseadaptor/BaseStorage.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/bundles/org.eclipse.osgi/defaultAdaptor/src/org/eclipse/osgi/internal/baseadaptor/BaseStorage.java b/bundles/org.eclipse.osgi/defaultAdaptor/src/org/eclipse/osgi/internal/baseadaptor/BaseStorage.java
index b219cd2d5..4a4bcf9c2 100644
--- a/bundles/org.eclipse.osgi/defaultAdaptor/src/org/eclipse/osgi/internal/baseadaptor/BaseStorage.java
+++ b/bundles/org.eclipse.osgi/defaultAdaptor/src/org/eclipse/osgi/internal/baseadaptor/BaseStorage.java
@@ -1234,13 +1234,14 @@ public class BaseStorage implements SynchronousBundleListener {
systemState.notifyAll(); // To wakeup sleeping thread.
}
try {
- if (joinWith != null)
+ if (joinWith != null) {
if (Debug.DEBUG && Debug.DEBUG_GENERAL)
Debug.println("About to join saving thread"); //$NON-NLS-1$
- // There should be no deadlock when 'shutdown' is true.
- joinWith.join();
- if (Debug.DEBUG && Debug.DEBUG_GENERAL)
- Debug.println("Joined with saving thread"); //$NON-NLS-1$
+ // There should be no deadlock when 'shutdown' is true.
+ joinWith.join();
+ if (Debug.DEBUG && Debug.DEBUG_GENERAL)
+ Debug.println("Joined with saving thread"); //$NON-NLS-1$
+ }
} catch (InterruptedException ie) {
if (Debug.DEBUG && Debug.DEBUG_GENERAL) {
Debug.println("Error shutdowning StateSaver: " + ie.getMessage()); //$NON-NLS-1$

Back to the top