Hi,
The following change breaks the local interface with overloaded methods. I add
the the compatibility check back for the local operations. This is done under
r964980.
Thanks,
Raymond
@@ -224,7 +226,11 @@ public class RuntimeEndpointImpl extends
for (InvocationChain chain : getInvocationChains()) {
Operation op = chain.getTargetOperation();
- if (interfaceContractMapper.isCompatible(operation, op,
Compatibility.SUBSET)) {
+ // We used to check compatibility here but this is now
validated when the
+ // chain is created. As the chain operations are the real
interface types
+ // they may be incompatible just because they are described in
different
+ // IDLs
+ if (operation.getName().equals(op.getName())) {
invocationChainMap.put(operation, chain);
return chain;
}
________________________________________________________________
Raymond Feng
[email protected]
Apache Tuscany PMC member and committer: tuscany.apache.org
Co-author of Tuscany SCA In Action book: www.tuscanyinaction.com
Personal Web Site: www.enjoyjava.com
________________________________________________________________