Duplicate interceptors in concrete parameterized subclasses
-----------------------------------------------------------

                 Key: WELD-881
                 URL: https://issues.jboss.org/browse/WELD-881
             Project: Weld
          Issue Type: Bug
    Affects Versions: 1.1.1.Final
            Reporter: Marius Bogoevici
            Assignee: Marius Bogoevici
             Fix For: 1.2.0.Beta1


If a concrete parameterized class extends a generic class, the methods that are 
inherited from the superclass, but not overridden have duplicate interceptors.

e.g.

class Parent<T>
{
   @SomeBinding
   void doStuff(T param);
}

class Child extends Parent<String> 
{
 
}

This is due to getWeldMethods returning bridge methods and InterceptionModel 
not being able to figure out the difference between bridge methods and 
originals - possibly an unfixed case of WELD-568.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to