[jbosstools-issues] [JBoss JIRA] (JBIDE-16759) Provide assignability of raw bean type to parameterized required type

Viacheslav Kabanovich (JIRA) issues at jboss.org
Fri Mar 14 14:16:11 EDT 2014


Viacheslav Kabanovich created JBIDE-16759:
---------------------------------------------

             Summary: Provide assignability of raw bean type to parameterized required type
                 Key: JBIDE-16759
                 URL: https://issues.jboss.org/browse/JBIDE-16759
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: cdi
            Reporter: Viacheslav Kabanovich
            Assignee: Viacheslav Kabanovich
             Fix For: 4.2.0.Beta2


CDI specification 1.1 in 5.2.4 Assignability of raw and parameterized types says:
"A raw bean type is considered assignable to a parameterized required type if the raw types are identical and all type parameters
of the required type are either unbounded type variables or java.lang.Object."

This is a clarification added after discussion in https://issues.jboss.org/browse/CDI-304. It should work the same way in CDI 1.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list