[webbeans-issues] [JBoss JIRA] Commented: (WBRI-194) super class and interfaces don't inherit type parameters.

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Mar 24 16:08:22 EDT 2009


    [ https://jira.jboss.org/jira/browse/WBRI-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12458908#action_12458908 ] 

Pete Muir commented on WBRI-194:
--------------------------------

This does break a load of tests in the TCK around Event resolution...

> super class and interfaces don't inherit type parameters.
> ---------------------------------------------------------
>
>                 Key: WBRI-194
>                 URL: https://jira.jboss.org/jira/browse/WBRI-194
>             Project: Web Beans
>          Issue Type: Bug
>          Components: Producer beans
>    Affects Versions: 1.0.0.BETA1
>            Reporter: Takeshi Kondo
>            Assignee: Pete Muir
>             Fix For: 1.0.0.PREVIEW
>
>         Attachments: parameterized_type_inheritance.patch, test_code.patch
>
>
> for instance
>   @Produces
>    public List<String> createStringList()
>    {
>       return Arrays.asList("aaa", "bbb");
>    }
>    
>   
> I expected that this producer method is bound to List<String> and Collection<String>... .
> but actual bound type is List<String> and Collection ... .

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the weld-issues mailing list