Injection points with a raw type should resolve to corresponding bean.
----------------------------------------------------------------------
Key: JBIDE-6448
URL:
https://jira.jboss.org/browse/JBIDE-6448
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi (jsr-299)
Affects Versions: 3.2.next
Reporter: Alexey Kazakov
Assignee: Viacheslav Kabanovich
Fix For: 3.2.next
For example:
@Produces public Dao<Object, Object> getDao() {...}
@Produces Dao getRawDao() {...}
@Produces public Dao<String, String> getDao() {...}
and
@Inject Dao dao; should resove to all the producers but @Inject Dao<String, String>
should resolve to the last one.
org.jboss.tools.cdi.core.test.tck.AssignabilityOfRawAndParameterizedTypesTest.testAssignabilityToRawType()
should pass.
--
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