[webbeans-issues] [JBoss JIRA] Created: (WBRI-378) Container does not detect definition error with non-Dependent generic beans

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Wed Aug 19 17:58:26 EDT 2009


Container does not detect definition error with non-Dependent generic beans
---------------------------------------------------------------------------

                 Key: WBRI-378
                 URL: https://jira.jboss.org/jira/browse/WBRI-378
             Project: Web Beans
          Issue Type: Bug
          Components: Bootstrap
    Affects Versions: 1.0.0.PREVIEW1
            Reporter: Shane Bryzak


Assertion 3.1.g states:

"If the managed bean class is a generic type, it must have scope @Dependent. If a managed 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, as defined in Section 12.4, "Problems detected automatically by the container""

see org.jboss.jsr299.tck.tests.definition.bean.genericbroken.GenericManagedBeanTest.testNonDependentGenericManagedBeanNotOk()

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