Changeset: ac839d6f4953
Author:    jfranck
Date:      2013-10-22 03:36 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/ac839d6f4953

8026855: AnnoConstruct.getAnnotationsByType includes inherited indirectly 
present annotations even when containee type is not inheritable
Summary: In AnnoConstruct.getAnnotationByType() check that the annotation 
sought after is inherited before looking on supertypes.
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/AnnoConstruct.java
+ test/tools/javac/processing/model/element/TestNonInherited.java

Reply via email to