[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-7013) Non dependent producer method with parameterized return type with actual types is valid

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Tue Sep 7 06:33:52 EDT 2010


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

Alexey Kazakov updated JBIDE-7013:
----------------------------------

    Fix Version/s: 3.2.0.Beta


> Non dependent producer method with parameterized return type with actual types is valid
> ---------------------------------------------------------------------------------------
>
>                 Key: JBIDE-7013
>                 URL: https://jira.jboss.org/browse/JBIDE-7013
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi (jsr-299)
>    Affects Versions: 3.2.0.M1
>            Reporter: Pete Muir
>            Assignee: Alexey Kazakov
>             Fix For: 3.2.0.Beta
>
>
> For example
>    @Produces @Named @RequestScoped
>    public List<User> getUsers()
>    {
>       return userDatabase.createQuery("select u from User u").getResultList();
>    }
> should be valid but currently gives 
> "Producer method with a parameterized return type with a type variable declares any scope other than @Dependent"

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

        


More information about the jbosstools-issues mailing list