Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2008-05-30 15:00:23 +0000
committerDarin Wright2008-05-30 15:00:23 +0000
commit5b9d2d1a464ca8b2eee1edf00f3a48a2ba402193 (patch)
tree0a406d8d01a7fd3d881541d388ad9ba2a129a75e
parentaa5b6a1716c750bb6bf71de3df612d2ce81a0545 (diff)
downloadeclipse.platform.debug-5b9d2d1a464ca8b2eee1edf00f3a48a2ba402193.tar.gz
eclipse.platform.debug-5b9d2d1a464ca8b2eee1edf00f3a48a2ba402193.tar.xz
eclipse.platform.debug-5b9d2d1a464ca8b2eee1edf00f3a48a2ba402193.zip
Bug 234536 - JUnit tests fail from time to time because DebugPlugin.getLaunchManager() is not synchronized
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java
index 899a61be0..b04f51218 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java
@@ -499,7 +499,7 @@ public class DebugPlugin extends Plugin {
* @return the launch manager
* @see ILaunchManager
*/
- public ILaunchManager getLaunchManager() {
+ public synchronized ILaunchManager getLaunchManager() {
if (fLaunchManager == null) {
fLaunchManager = new LaunchManager();
}

Back to the top