[weld-issues] [JBoss JIRA] Created: (WELD-433) Request scoped session bean with generic bean class not detected as definition error

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Tue Feb 9 04:23:19 EST 2010


Request scoped session bean with generic bean class not detected as definition error
------------------------------------------------------------------------------------

                 Key: WELD-433
                 URL: https://jira.jboss.org/jira/browse/WELD-433
             Project: Weld
          Issue Type: Bug
          Components: Bootstrap and Metamodel API
    Affects Versions: 1.0.1.CR2
            Reporter: Jozef Hartinger
             Fix For: 1.0.1.GA


The spec says: If the session bean class is a generic type, it must have scope @Dependent. If a session bean with a parameterized bean class declares any scope other than @Dependent, the container automatically detects the problem and treats it as a definition error.

org.jboss.jsr299.tck.tests.implementation.enterprise.broken.genericStateless.GenericStatelessSessionBeanTest

in the TCK trunk

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