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

Inheritance of member-level metadata for generic types - missing substitution of actual type arguments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 1.1.8.Final, 2.0.0.Alpha3
    • None
    • None
    • None

    Description

      See the spec 4.2. Inheritance of member-level metadata.

      class Bar<T> {
          @Inject Baz<T> baz;
      }
      class Foo extends Bar<String> {}
      

      The required type of inherited injection point on Foo is Baz<T> but should be Baz<String>.

      Attachments

        Issue Links

          Activity

            Public project attachment banner

              context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
              current Project key: WELD

              People

                marko.luksa@gmail.com Marko Luksa (Inactive)
                mkouba@redhat.com Martin Kouba
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: