[weld-issues] [JBoss JIRA] Resolved: (WELD-881) Duplicate interceptors in concrete parameterized subclasses
Ales Justin (JIRA)
jira-events at lists.jboss.org
Thu Apr 7 06:22:33 EDT 2011
[ https://issues.jboss.org/browse/WELD-881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ales Justin resolved WELD-881.
------------------------------
Resolution: Done
https://github.com/weld/core/compare/2db9d06...0bb915c
> 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
More information about the weld-issues
mailing list