[ 
http://issues.ops4j.org/browse/GAD-7?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764#action_12764
 ] 

Johan Lindquist commented on GAD-7:
-----------------------------------

Added test case to check this, but fail to reproduce - please check 
TestServices to see if I have missed something.

> Service proxies won't work with covariant return types
> ------------------------------------------------------
>
>                 Key: GAD-7
>                 URL: http://issues.ops4j.org/browse/GAD-7
>             Project: Gaderian
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0
>            Reporter: Raffael Herzog
>            Assignee: Raffael Herzog
>
> If using covariant return types, service proxies currenly won't work.
> Example:
> {code:java}public interface ServiceIface {
>     Number method();
> }
> public class ServiceIfaceImpl implements ServiceIface {
>     Integer method();
> }
> {code}
> In this example, the service proxy created by Gaderian will throw an 
> AbstractMethodError, because ServiceIfaceImpl doesn't implement a method 
> method() with return type Number.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to