Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-04-15 12:19:19 +0000
committerUwe Stieber2012-04-15 12:19:19 +0000
commit53c14a01f98cfbaea8cdca1ba884ddcede59ac97 (patch)
treef193b797222ce6f16fb6681fc076528fc88c883c /target_explorer/plugins/org.eclipse.tcf.te.core
parentc8684310b685875ae400cd70ec94f74b38d09578 (diff)
downloadorg.eclipse.tcf-53c14a01f98cfbaea8cdca1ba884ddcede59ac97.tar.gz
org.eclipse.tcf-53c14a01f98cfbaea8cdca1ba884ddcede59ac97.tar.xz
org.eclipse.tcf-53c14a01f98cfbaea8cdca1ba884ddcede59ac97.zip
Fix unsafe static field initialization
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.core')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.core/src/org/eclipse/tcf/te/core/activator/CoreBundleActivator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.core/src/org/eclipse/tcf/te/core/activator/CoreBundleActivator.java b/target_explorer/plugins/org.eclipse.tcf.te.core/src/org/eclipse/tcf/te/core/activator/CoreBundleActivator.java
index 58c9765be..619f029fe 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.core/src/org/eclipse/tcf/te/core/activator/CoreBundleActivator.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.core/src/org/eclipse/tcf/te/core/activator/CoreBundleActivator.java
@@ -20,7 +20,7 @@ public class CoreBundleActivator implements BundleActivator {
// The bundle context
private static BundleContext context;
// The trace handler instance
- private static TraceHandler traceHandler;
+ private static volatile TraceHandler traceHandler;
/**
* Returns the bundle context

Back to the top