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

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Sep 7 06:25:52 EDT 2010


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


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