[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
Wed May 9 13:06:18 EDT 2012


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

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

Ron, yes, you're right. Initially the test started out as an integration test, but I later realized I could strip it down to simply test TypeVariableResolver directly, but forgot to move it.

I'll move it to the correct location when I fix the failing test (there's a new jira task for it: WELD-1127)
                
> 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
>             Fix For: 1.1.8.Final
>
>
> 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