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

It's possible to add interceptor programmatically to instance created by container

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.0.0.CR1
    • 3.0.0.Beta1
    • None
    • None

    Description

      Spec states in 11.7. Apply interceptor programmatically:

      If (createInterceptedInstance())called on an instance created by the container, this
      method does nothing and returns the provided instance.

      Currently this method applies interceptor also to instance created by the container.
      Reproducible by org.jboss.cdi.tck.tests.extensions.interceptionFactory.InterceptionFactoryTest in TCK master.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: