[
https://issues.apache.org/jira/browse/TUSCANY-3219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12746045#action_12746045
]
Mike Edwards commented on TUSCANY-3219:
---------------------------------------
This is a failure in Tuscany.
In Test_ASM_5016.composite, Test_ASM_5016Component1 has a reference configured
with an interface that is deliberately a SUPERSET of the interface expressed on
the same reference in the implementation used by the component. This should be
OK, but Tuscany flags the interfaces as being incompatible and raises an
exception.
> SCA 2.x otest ASM_5016_TestCase failed to pass
> ------------------------------------------------
>
> Key: TUSCANY-3219
> URL: https://issues.apache.org/jira/browse/TUSCANY-3219
> Project: Tuscany
> Issue Type: Bug
> Components: OASIS Tests
> Affects Versions: Java-SCA-2.0
> Reporter: Ku Jun Guo
>
> As ASM50011 said, If an interface is declared for a component reference, the
> interface MUST provide a compatible superset of the interface
> declared for the equivalent reference in the componentType of
> the implementation, i.e. provide the same operations or a
> superset of the operations defined by the implementation for the
> reference.
> But in the test case, it failed with :
> Caused by: org.oasisopen.sca.ServiceRuntimeException: [] - Component
> reference interface incompatible with implementation reference interface:
> Component = TestComponent1 Reference = Reference1Exception received during
> startup - detail: org.oasisopen.sca.ServiceRuntimeException: [] - Component
> reference interface incompatible with implementation reference interface:
> Component = TestComponent1 Reference = Reference1
> Is the testcase correct, or a valid bug for 2.x codebase?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.