hg: jdk8/tl/langtools: 8026855: AnnoConstruct.getAnnotationsByType includes inherited indirectly present annotations even when containee type is not inheritable
joel.franck at oracle.com
joel.franck at oracle.com
Tue Oct 22 02:13:26 UTC 2013
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
More information about the security-dev
mailing list