[
https://jira.jboss.org/jira/browse/WELD-419?page=com.atlassian.jira.plugi...
]
Jozef Hartinger updated WELD-419:
---------------------------------
Description:
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
was:
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
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
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