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

Marko Lukša (JIRA) jira-events at lists.jboss.org
Mon Apr 23 10:55:18 EDT 2012


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

Marko Lukša commented on WELD-1111:
-----------------------------------

InjectionTargets are now fixed, too: https://github.com/weld/core/pull/194

                
> 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
>            Assignee: Marko Lukša
>            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