[weld-issues] [JBoss JIRA] (WELD-1111) Inheritance of member-level metadata for generic types - missing substitution of actual type arguments

Martin Kouba (JIRA) jira-events at lists.jboss.org
Fri Apr 20 08:37:17 EDT 2012


    [ https://issues.jboss.org/browse/WELD-1111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12686035#comment-12686035 ] 

Martin Kouba commented on WELD-1111:
------------------------------------

See also TCK 1.1 test:
*org.jboss.cdi.tck.tests.inheritance.generics.MemberLevelInheritanceTest*
                
> Inheritance of member-level metadata for generic types - missing substitution of actual type arguments
> ------------------------------------------------------------------------------------------------------
>
>                 Key: WELD-1111
>                 URL: https://issues.jboss.org/browse/WELD-1111
>             Project: Weld
>          Issue Type: Bug
>            Reporter: Martin Kouba
>            Priority: Minor
>
> See the spec *4.2. Inheritance of member-level metadata*.
> {code}
> class Bar<T> {
>     @Inject Baz<T> baz;
> }
> class Foo extends Bar<String> {}
> {code}
> The required type of inherited injection point on {{Foo}} is {{Baz<T>}} but should be {{Baz<String>}}.

--
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