[webbeans-issues] [JBoss JIRA] Closed: (WBRI-186) generic type member injection

Pete Muir (JIRA) jira-events at lists.jboss.org
Sun Mar 15 21:15:33 EDT 2009


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

Pete Muir closed WBRI-186.
--------------------------

    Resolution: Done
      Assignee: Pete Muir


Thanks!

Your tests are great - and although I didn't use the patch - keep them coming :-) BTW if you can do less cosmetic changes in a patch (whitespace etc.) then that would be even better. Also, please make comments for big patches (like why you changed method names...)

> generic type member injection
> -----------------------------
>
>                 Key: WBRI-186
>                 URL: https://jira.jboss.org/jira/browse/WBRI-186
>             Project: Web Beans
>          Issue Type: Bug
>          Components: Simple Beans
>    Affects Versions: 1.0.0.BETA1
>            Reporter: Takeshi Kondo
>            Assignee: Pete Muir
>             Fix For: 1.0.0.PREVIEW
>
>         Attachments: parameterized_member_injection.patch, test_code.patch
>
>
> public class ParameterizedListInjection
> {
>    @Current
>    private List<String> fieldInjection;
> -------
> this generic type field injection, 
> I supposed that injected instance is "manager.getInstanceByType(new TypeLiteral<List<String>>(){});",
> but actual injected instanec is "manager.getInstanceByType(List.class);"

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