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

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

XMLWordPrintable

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

      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

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

                Created:
                Updated:
                Resolved: