You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2009/10/24 20:13:59 UTC

[jira] Created: (GERONIMO-4930) Support wildcards in @ParamReference collection valued parameter types in gbeans

Support wildcards in @ParamReference collection valued parameter types in gbeans
--------------------------------------------------------------------------------

                 Key: GERONIMO-4930
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4930
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: kernel
    Affects Versions: 2.2, 3.0
            Reporter: David Jencks
            Assignee: David Jencks
             Fix For: 2.2, 3.0


By looking a little deeper in to the available metadata it looks like we can support wildcards like Collection<? extends Foo> as types in annotated gbean constructor parameters.  I fixed this in 3.0 some time ago, it will be handy in 2.2 as well.

I _think_ I've checked that this works on java5 as well as java6 but since most of my work is on java 6 we should keep our eyes open for problems.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (GERONIMO-4930) Support wildcards in @ParamReference collection valued parameter types in gbeans

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks closed GERONIMO-4930.
----------------------------------

    Resolution: Fixed

2.2 rev 829428, fixed in trunk some time ago.

> Support wildcards in @ParamReference collection valued parameter types in gbeans
> --------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4930
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4930
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: kernel
>    Affects Versions: 2.2, 3.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 2.2, 3.0
>
>
> By looking a little deeper in to the available metadata it looks like we can support wildcards like Collection<? extends Foo> as types in annotated gbean constructor parameters.  I fixed this in 3.0 some time ago, it will be handy in 2.2 as well.
> I _think_ I've checked that this works on java5 as well as java6 but since most of my work is on java 6 we should keep our eyes open for problems.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.