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

Marius Bogoevici (JIRA) jira-events at lists.jboss.org
Wed Jul 21 21:52:53 EDT 2010


When overridden methods with covariant return types are intercepted, the result is a duplicate class 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.BETA1


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