[weld-issues] [JBoss JIRA] (WELD-1060) Any bean type with identical raw type is assignable to a parameterized required type with type variable parameter

Ales Justin (JIRA) jira-events at lists.jboss.org
Mon Feb 27 09:24:36 EST 2012


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

Ales Justin updated WELD-1060:
------------------------------

    Fix Version/s: 2.0.0.Alpha2
         Assignee: Jozef Hartinger
      Component/s: Resolution (Typesafe and by Name)

    
> Any bean type with identical raw type is assignable to a parameterized required type with type variable parameter
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: WELD-1060
>                 URL: https://issues.jboss.org/browse/WELD-1060
>             Project: Weld
>          Issue Type: Bug
>          Components: Resolution (Typesafe and by Name)
>            Reporter: Martin Kouba
>            Assignee: Jozef Hartinger
>             Fix For: 2.0.0.Alpha2
>
>
> *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 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."
> See *org.jboss.cdi.tck.tests.lookup.typesafe.resolution.parameterized.AssignabilityOfRawAndParameterizedTypesTest.testAssignabilityOfParameterizedTypeWithTypeVariablesToParameterizedTypeTypeVariable()*

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list