When validating serializability of Decorators, delegate injection points should be
ignored
------------------------------------------------------------------------------------------
Key: WELD-487
URL:
https://jira.jboss.org/jira/browse/WELD-487
Project: Weld
Issue Type: Bug
Affects Versions: 1.0.1.Final
Reporter: Marius Bogoevici
Assignee: Marius Bogoevici
Fix For: 1.0.2.CR1
Decorators of a passivation capable bean must be passivation capable as well. This
includes a check as to whether their injection points are passivation capable. In the
current implementation, an @Inject @Delegate @Any delegation point will be reported as an
ambiguous dependency, although this does not happen elsewhere.
Solution: @Inject @Delegate injection points must not be checked for passivation
capability. The decorator being validated has already been selected *because* it decorates
a passivation capable bean, so we know that the delegate is passivation capable (even if
we deal with a chain of decorators, all decorators must be passivation capable).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira