[weld-issues] [JBoss JIRA] Updated: (WELD-568) When overridden methods with covariant return types are intercepted, the result is a duplicate interceptor definition

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Aug 11 19:06:51 EDT 2010


     [ https://jira.jboss.org/browse/WELD-568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir updated WELD-568:
---------------------------

    Fix Version/s: 1.1.0.BETA2
                       (was: 1.1.0.BETA1)


> When overridden methods with covariant return types are intercepted, the result is a duplicate interceptor definition
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: WELD-568
>                 URL: https://jira.jboss.org/browse/WELD-568
>             Project: Weld
>          Issue Type: Bug
>          Components: Interceptors and Decorators
>    Affects Versions: 1.0.0.ALPHA1
>            Reporter: Marius Bogoevici
>            Assignee: Marius Bogoevici
>             Fix For: 1.1.0.BETA2
>
>
> The root of the problem is that WeldClass.getWeldMethods() returns 3 methods (subclass, superclass, bridge) when the overriden method has a covariant return type. We need either to fix WeldClass or work around this.

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

        


More information about the weld-issues mailing list