Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-419

Producers defined on Interceptors and Decorators not detected as definition errors

XMLWordPrintable

    • Release Notes

      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

              marius.bogoevici Marius Bogoevici (Inactive)
              rhn-engineering-jharting Jozef Hartinger
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: