[webbeans-issues] [JBoss JIRA] Updated: (WBRI-315) Beans with scope @Dependent may not have conditional observer methods

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Aug 14 16:23:27 EDT 2009


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

Pete Muir updated WBRI-315:
---------------------------

    Fix Version/s: 1.0.0.PREVIEW3
                       (was: 1.0.0.CR1)


> Beans with scope @Dependent may not have conditional observer methods
> ---------------------------------------------------------------------
>
>                 Key: WBRI-315
>                 URL: https://jira.jboss.org/jira/browse/WBRI-315
>             Project: Web Beans
>          Issue Type: Feature Request
>          Components: Events
>    Affects Versions: 1.0.0.PREVIEW1
>            Reporter: Dan Allen
>            Assignee: David Allen
>             Fix For: 1.0.0.PREVIEW3
>
>
> According to section 10.4.4 of the 20090625 spec, Beans with scope @Dependent may not have conditional observer methods. If a bean with scope @Dependent has an observer method declared notify=IF_EXISTS, 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".
> Currently, the RI does not detect this problem.
> See test org.jboss.jsr299.tck.tests.event.broken.observer.dependentIsConditionalObserver.DependentIsConditionalObserverTest

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