[
https://jira.jboss.org/browse/WELD-568?page=com.atlassian.jira.plugin.sys...
]
Marius Bogoevici commented on WELD-568:
---------------------------------------
One idea discussed on IRC was this: if WeldClass.getWeldMethods() behavies in a similar
way to Class.getMethods(), then it will return *only* public methods, which is not
desirable. The idea is to provide a catch-all method with the name
getContainerAccessibleMethods() (naming TBD) which should provide access to all the
methods of the class, including methods which are inherited, but not bridge methods
generated for covariants (TBD).
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.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