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

Rastislav Wagner (JIRA) issues at jboss.org
Mon Mar 31 05:46:12 EDT 2014


     [ https://issues.jboss.org/browse/JBIDE-16759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rastislav Wagner closed JBIDE-16759.
------------------------------------



verified in JBDS 8.0.0 Beta1-v20140330-1929-B79
                
> 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.Beta1
>
>
> 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