hg: jdk8/tl/langtools: 8014016: javac is too late detecting invalid annotation usage

jan.lahoda at oracle.com jan.lahoda at oracle.com
Mon Oct 14 20:14:03 UTC 2013


Changeset: 87b5bfef7edb
Author:    jlahoda
Date:      2013-10-14 22:11 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/87b5bfef7edb

8014016: javac is too late detecting invalid annotation usage
Summary: Adding new queue to Annotate for validation tasks, performing annotation validation during enter
Reviewed-by: jjg, emc, jfranck

! src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java
! src/share/classes/com/sun/tools/javac/comp/Annotate.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! test/tools/javac/annotations/typeAnnotations/failures/CantAnnotateStaticClass.out
+ test/tools/javac/processing/errors/StopOnInapplicableAnnotations/GenerateFunctionalInterface.java
+ test/tools/javac/processing/errors/StopOnInapplicableAnnotations/GenerateSuperInterfaceProcessor.java
+ test/tools/javac/processing/errors/StopOnInapplicableAnnotations/Processor.java
+ test/tools/javac/processing/errors/StopOnInapplicableAnnotations/Source.java




More information about the security-dev mailing list