[ 
https://issues.apache.org/jira/browse/TUSCANY-3638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kelvin Goodson resolved TUSCANY-3638.
-------------------------------------

    Resolution: Fixed

see: http://svn.apache.org/viewvc?view=revision&revision=981859

implemented further interface contract compatibility checking -- allows oasis 
JCA_9008_TestCase to receive the required IllegalArgumentException when the 
contracts are incompatible. In some cases (e.g. webapps) we can't reliably 
introspect implementations in a platform neutral way to discover the 
implementation's interface contract, so in this case we fluff up an interface 
contract on the basis of the business interface, just as we have done more 
generally in the past.

> Otest JCA9008 fails to fail when getService  method's business interface arg 
> doesn't match the named service reference interface
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3638
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3638
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-2.0-M5
>            Reporter: Kelvin Goodson
>            Assignee: Kelvin Goodson
>             Fix For: Java-SCA-2.0
>
>
> Otest JCA9008 fails to fail when getService  method's business interface arg 
> doesn't match the named service reference interface.
> This test was introduced Mid June 2010, and I suspect has never worked.
> Looking at line 421 of ComponentContextImpl at r945259 I see that   --- 
> businessInterface.isAssignableFrom(cls) returns false.  The code then 
> performs some logic based upon the fact that the supplied and retrieved 
> interfaces are incompatible -- I suspect this code requires updating.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to