[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-8736) Sometimes injections do not resolve to produced bean with restricted generic type
Viacheslav Kabanovich (JIRA)
jira-events at lists.jboss.org
Fri Apr 15 16:05:35 EDT 2011
Sometimes injections do not resolve to produced bean with restricted generic type
---------------------------------------------------------------------------------
Key: JBIDE-8736
URL: https://issues.jboss.org/browse/JBIDE-8736
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi (jsr-299)
Affects Versions: 3.2.0.Final
Reporter: Viacheslav Kabanovich
Assignee: Viacheslav Kabanovich
Fix For: 3.3.0.M1
Injection point is not resolved in the following case:
public class Test {
@Produces @Typed(List.class)
private ArrayList<Boolean> producer = new ArrayList<Boolean>();
@Inject
List<Boolean> injected;
}
For the current implementation, it is important here that List and ArrayList are library types. If a generic type and subtype defined in local project are used, then injection is resolved.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list