[weld-issues] [JBoss JIRA] (WELD-1039) Annotated that represents a type should also return annotations on it's supertype regardless of whether the annotation is marked @Inherited

Jozef Hartinger (Resolved) (JIRA) jira-events at lists.jboss.org
Wed Jan 11 07:29:10 EST 2012


     [ https://issues.jboss.org/browse/WELD-1039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jozef Hartinger resolved WELD-1039.
-----------------------------------

    Resolution: Rejected


The spec conclusion is wrong. It is not possible to implement this properly. See https://issues.jboss.org/browse/CDI-132
                
> Annotated that represents a type should also return annotations on it's supertype regardless of whether the annotation is marked @Inherited
> -------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WELD-1039
>                 URL: https://issues.jboss.org/browse/WELD-1039
>             Project: Weld
>          Issue Type: Bug
>            Reporter: Martin Kouba
>            Assignee: Jozef Hartinger
>             Fix For: 2.0.0.Alpha1
>
>
> 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()*

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list