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
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.