[weld-issues] [JBoss JIRA] Created: (WELD-419) Producers defined on Interceptors and Decorators not detected as definition errors

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Fri Feb 5 08:55:19 EST 2010


Producers defined on Interceptors and Decorators not detected as definition errors
----------------------------------------------------------------------------------

                 Key: WELD-419
                 URL: https://jira.jboss.org/jira/browse/WELD-419
             Project: Weld
          Issue Type: Bug
          Components: Interceptors and Decorators, Producers (Methods, Fields and Disposers)
    Affects Versions: 1.0.1.CR2
            Reporter: Jozef Hartinger
             Fix For: 1.0.1.GA


Interceptors and decorators may not declare producer methods. If an interceptor or decorator has a method annotated @Produces, the container automatically detects the problem and treats it as a definition error.

org.jboss.jsr299.tck.tests.implementation.producer.field.definition.broken.interceptor.ProducerFieldOnInterceptorTest
org.jboss.jsr299.tck.tests.implementation.producer.field.definition.broken.decorator.ProducerFieldOnDecoratorTest
org.jboss.jsr299.tck.tests.implementation.producer.method.broken.decorator.ProducerMethodOnDecoratorTest
org.jboss.jsr299.tck.tests.implementation.producer.method.broken.interceptor.ProducerMethodOnInterceptorTest

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