[webbeans-issues] [JBoss JIRA] Updated: (WBRI-378) Container does not detect definition error with non-Dependent generic beans
Pete Muir (JIRA)
jira-events at lists.jboss.org
Thu Aug 20 06:50:26 EDT 2009
[ https://jira.jboss.org/jira/browse/WBRI-378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pete Muir updated WBRI-378:
---------------------------
Fix Version/s: 1.0.0.CR1
> 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
> Fix For: 1.0.0.CR1
>
>
> 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