]
Pete Muir closed WELDX-156.
---------------------------
Resolution: Done
Non-Generic versions of generic beans are still eligible for
injection
----------------------------------------------------------------------
Key: WELDX-156
URL:
https://jira.jboss.org/browse/WELDX-156
Project: Weld Extensions
Issue Type: Bug
Reporter: Stuart Douglas
Assignee: Stuart Douglas
Fix For: 1.0.0.Beta1
Generic beans need to have a synthetic qualifier added to them to prevent them from being
resolved.
At the moment this is preventing the use of @Default generic producer methods, as both
the original generic bean and the produced bean will have the same type and qualifiers.
To a lesser extent this also affects generic producers. There are no problems if the
producer is implicitly @Default, as the @Default is removed by adding the GenericMarker
qualifier, however if there is an existing qualifier then the bean will have the
qualifiers @SomeQualifier @GenericMarker and is still eligible for injection into
@SomeQualifier injection points.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: