[
https://issues.jboss.org/browse/JBIDE-8736?page=com.atlassian.jira.plugin...
]
Alexey Kazakov updated JBIDE-8736:
----------------------------------
Description:
Injection point is not resolved in the following case:
{code}
public class Test {
@Produces @Typed(List.class)
private ArrayList<Boolean> producer = new ArrayList<Boolean>();
@Inject
List<Boolean> injected;
}
{code}
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.
was:
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.
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:
{code}
public class Test {
@Produces @Typed(List.class)
private ArrayList<Boolean> producer = new ArrayList<Boolean>();
@Inject
List<Boolean> injected;
}
{code}
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