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

Duplicate interceptors in concrete parameterized subclasses

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.2.Final
    • 1.1.1.Final
    • None
    • None

      If a concrete parameterized class extends a generic class, the methods that are inherited from the superclass, but not overridden have duplicate interceptors.

      e.g.

      class Parent<T>
      {
      @SomeBinding
      void doStuff(T param);
      }

      class Child extends Parent<String>
      {

      }

      This is due to getWeldMethods returning bridge methods and InterceptionModel not being able to figure out the difference between bridge methods and originals - possibly an unfixed case of WELD-568.

              marius.bogoevici Marius Bogoevici (Inactive)
              marius.bogoevici Marius Bogoevici (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: