[jbosstools-issues] [JBoss JIRA] Closed: (JBIDE-6474) Injection points with a parameterized type should resolve to corresponding beans according to CDI spec.

Lukas Jungmann (JIRA) jira-events at lists.jboss.org
Thu Aug 26 06:01:12 EDT 2010


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

Lukas Jungmann closed JBIDE-6474.
---------------------------------



tests are passing in v201008232021N-H413-M2


> Injection points with a parameterized type should resolve to corresponding beans according to CDI spec.
> -------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-6474
>                 URL: https://jira.jboss.org/browse/JBIDE-6474
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi (jsr-299)
>    Affects Versions: 3.2.0.M1
>            Reporter: Alexey Kazakov
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.2.0.M2
>
>
> See the spec.:
> 5.2.3. Assignability of raw and parameterized types.
> A parameterized bean type is considered assignable to a parameterized required type if they have identical raw type and for each parameter:
> • the required type parameter and the bean type parameter are actual types with identical raw type, and, if the type is parameterized, the bean type parameter is assignable to the required type parameter according to these rules, or
> • the required type parameter is a wildcard, the bean type parameter is an actual type and the actual type is assignable to the upper bound, if any, of the wildcard and assignable from the lower bound, if any, of the wildcard, or
> • the required type parameter is a wildcard, the bean type parameter is a type variable and the upper bound of the type variable is assignable to or assignable from the upper bound, if any, of the wildcard and assignable from the lower bound, if any, of the wildcard, or
> • the required type parameter is an actual type, the bean type parameter is a type variable and the actual type is assignable to the upper bound, if any, of the type variable, or 
> • the required type parameter and the bean type parameter are both type variables and the upper bound of the required type parameter is assignable to the upper bound, if any, of the bean type parameter.
> All the tests in org.jboss.tools.cdi.core.test.tck.AssignabilityOfRawAndParameterizedTypesTest 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

       



More information about the jbosstools-issues mailing list