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

Fix the set of decorated types of a decorator of built-in Instance

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 2.0.0.Beta2
    • 2.0.0.Alpha3
    • None
    • None

    Description

      E.g. for the following decorator:

      @Decorator
      public abstract class InstanceDecorator implements Instance<Foo> {
      
          @Inject
          @Delegate
          Instance<Foo> instance;
      
      }
      

      the set of decorated types contains Instance<Foo>, Iterator<T>, Producer<T>.

      See also TCK test:
      org.jboss.cdi.tck.tests.decorators.builtin.instance.BuiltinInstanceDecoratorTest

      Attachments

        Activity

          People

            rhn-engineering-jharting Jozef Hartinger
            mkouba@redhat.com Martin Kouba
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: