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

Annotated that represents a type should also return annotations on it's supertype regardless of whether the annotation is marked @Inherited

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 2.0.0.Alpha1
    • None
    • None
    • None

      CDI 1.1 (chapter 11.4. Alternative metadata sources) states: "If the Annotated represents a type, then the annotations returned should include all annotations on the type and it's supertypes regardless of whether the annotation is marked @Inherited."

      See TCK test: org.jboss.jsr299.tck.tests.extensions.annotated.AlternativeMetaDataTest.testGetAnnotations()

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

                Created:
                Updated:
                Resolved: