summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/interface-java/src
diff options
context:
space:
mode:
Diffstat (limited to 'java/sca/modules/interface-java/src')
-rw-r--r--java/sca/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/DefaultJavaInterfaceFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sca/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/DefaultJavaInterfaceFactory.java b/java/sca/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/DefaultJavaInterfaceFactory.java
index 67a9c8f2c6..97513fefd9 100644
--- a/java/sca/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/DefaultJavaInterfaceFactory.java
+++ b/java/sca/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/DefaultJavaInterfaceFactory.java
@@ -56,7 +56,7 @@ public class DefaultJavaInterfaceFactory extends JavaInterfaceFactoryImpl implem
* Load visitors declared under META-INF/services
*/
@SuppressWarnings("unchecked")
- private void loadVisitors() {
+ private synchronized void loadVisitors() {
if (loadedVisitors)
return;