Uploaded image for project: 'CDI TCK'
  1. CDI TCK
  2. CDITCK-490

Revisit org.jboss.cdi.tck.tests.decorators.definition.inject.broken.delegateProducerMethod.DelegateInjectionPointTest

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.6.Final, 2.0.0.Alpha2, 1.2.5.Final
    • None
    • None

      8.1.2. Decorator delegate injection points, the following spec paragraph should be tested:

      The delegate injection point must be an injected field, initializer method parameter or bean constructor method parameter. If an injection point that is not an injected field, initializer method parameter or bean constructor method parameter is annotated @Delegate, the container automatically detects the problem and treats it as a definition error.

      However, TimestampLogger does not declare a valid delegate injection point. As a result, a definition error may be thrown for another reason (see other paragraphs in the same section). Note that decorators cannot declare producers so a definition error may still be thrown for another reason (nothing we can do about).

              tremes1@redhat.com Tomas Remes
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: