diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-01 22:54:24 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-01 22:54:24 +0000 |
commit | 181b5d861b844d0ce37a0c60ab765be3b5d69fce (patch) | |
tree | 9fbd3d72bf3afdd1a0f6286ec4d3a301b013fcd3 /sca-java-2.x/trunk/modules/binding-sca-runtime/src/main/java | |
parent | c3db55ecccc3e0735e2b3e63666c3aedd913c98e (diff) |
Fix to ensure pass-by-value is used if only one end is using allowsPassByReference
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@917777 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/binding-sca-runtime/src/main/java')
-rw-r--r-- | sca-java-2.x/trunk/modules/binding-sca-runtime/src/main/java/org/apache/tuscany/sca/binding/sca/provider/RuntimeSCAReferenceBindingProvider.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-sca-runtime/src/main/java/org/apache/tuscany/sca/binding/sca/provider/RuntimeSCAReferenceBindingProvider.java b/sca-java-2.x/trunk/modules/binding-sca-runtime/src/main/java/org/apache/tuscany/sca/binding/sca/provider/RuntimeSCAReferenceBindingProvider.java index 3ace5a7d01..1f84dd5d19 100644 --- a/sca-java-2.x/trunk/modules/binding-sca-runtime/src/main/java/org/apache/tuscany/sca/binding/sca/provider/RuntimeSCAReferenceBindingProvider.java +++ b/sca-java-2.x/trunk/modules/binding-sca-runtime/src/main/java/org/apache/tuscany/sca/binding/sca/provider/RuntimeSCAReferenceBindingProvider.java @@ -208,7 +208,8 @@ public class RuntimeSCAReferenceBindingProvider implements EndpointReferenceProv passByValue = false; } } else { - boolean allowsPBR = chain.allowsPassByReference(); +// boolean allowsPBR = chain.allowsPassByReference(); TODO: TUSCANY-3479 this breaks the conformance tests as it needs to consider _both_ ends + boolean allowsPBR = false; if (allowsPBR && interfaceContractMapper.isCompatibleByReference(operation, targetOp, Compatibility.SUBSET)) { passByValue = false; } else if (interfaceContractMapper.isCompatibleByValue(operation, targetOp, Compatibility.SUBSET)) { |