[webbeans-issues] [JBoss JIRA] Updated: (WBRI-316) Binding annotations without runtime retention are erroneously accepted

David Allen (JIRA) jira-events at lists.jboss.org
Mon Jul 27 15:53:29 EDT 2009


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

David Allen updated WBRI-316:
-----------------------------

    Description: 
The meta annotation store loads annotations with the @BindingType annotation without checking whether or not these bindings have runtime retention.

This currently breaks the following tests:

org.jboss.jsr299.tck.tests.event.EventTest::testEventBindingTypeNotRuntime()
org.jboss.jsr299.tck.tests.event.bindingTypes.EventBindingTypesTest::testFireEventWithNonRuntimeBindingTypeFails()

This bug was not detected until some older checks were removed from the BeanManager.fireEvent() method.  These checks are now done in another method which resolves the observers.

  was:
The meta annotation store loads annotations with the @BindingType annotation without checking whether or not these bindings have runtime retention.

This currently breaks the following tests:

org.jboss.jsr299.tck.tests.event.EventTest::testEventBindingTypeNotRuntime()
org.jboss.jsr299.tck.tests.event.bindingTypes.EventBindingTypesTest::testFireEventWithNonRuntimeBindingTypeFails()

       Assignee: Pete Muir


> Binding annotations without runtime retention are erroneously accepted
> ----------------------------------------------------------------------
>
>                 Key: WBRI-316
>                 URL: https://jira.jboss.org/jira/browse/WBRI-316
>             Project: Web Beans
>          Issue Type: Bug
>    Affects Versions: 1.0.0.PREVIEW1
>            Reporter: David Allen
>            Assignee: Pete Muir
>             Fix For: 1.0.0.CR1
>
>
> The meta annotation store loads annotations with the @BindingType annotation without checking whether or not these bindings have runtime retention.
> This currently breaks the following tests:
> org.jboss.jsr299.tck.tests.event.EventTest::testEventBindingTypeNotRuntime()
> org.jboss.jsr299.tck.tests.event.bindingTypes.EventBindingTypesTest::testFireEventWithNonRuntimeBindingTypeFails()
> This bug was not detected until some older checks were removed from the BeanManager.fireEvent() method.  These checks are now done in another method which resolves the observers.

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