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
    Affects Versions: 2.0.0.Alpha1
            Reporter: Martin Kouba


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

        
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to