RFR: JDK-8014016: javac is too late detecting invalid annotation usage
jan.lahoda at oracle.com
Sun Oct 6 00:07:30 PDT 2013
The bug, as I understand it, says that for annotations appearing in
declarations/headers, it should be verified that the annotations are not
misplaced before ending the enter phase, and before getting to Attr.
First version of a patch that strives to validate in-declaration
annotations during the enter phase is available here:
As it also contains non-trivial changes related to type annotations,
CCing to the type annotations list as well.
Any comments or questions are welcome,
More information about the compiler-dev