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

Marius Bogoevici (JIRA) jira-events at lists.jboss.org
Fri Feb 19 01:55:10 EST 2010


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

Marius Bogoevici closed WELD-419.
---------------------------------

    Resolution: Done


resolved w/rev 5887

> 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
>            Assignee: Marius Bogoevici
>             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
> in the TCK trunk

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