[webbeans-issues] [JBoss JIRA] Created: (WBRI-379) Container does not throw exception for classes annotated with @Decorator and @Interceptor

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


Container does not throw exception for classes annotated with @Decorator and @Interceptor
-----------------------------------------------------------------------------------------

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


Assertion 3.1.f0 states:

"If the bean class of a managed bean is annotated with both the @Interceptor and @Decorator stereotypes, 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"."

please see org.jboss.jsr299.tck.tests.interceptors.definition.broken.interceptorCanNotBeDecorator.InterceptorCanNotBeDecoratorTest.testInterceptorCanNotAlsoBeDecorator()

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