RFR: JDK-8014016: javac is too late detecting invalid annotation usage
Eric McCorkle
eric.mccorkle at oracle.com
Mon Oct 14 06:58:47 PDT 2013
I'd say consider making the validation queue use a new interface, say
Validator, for the sake of clarity.
On 10/06/13 03:07, Jan Lahoda wrote:
> Hello,
>
> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8014016
>
> 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:
> http://cr.openjdk.java.net/~jlahoda/8014016/webrev.00/
>
> 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,
> Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eric_mccorkle.vcf
Type: text/x-vcard
Size: 303 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20131014/dbeb0417/eric_mccorkle.vcf
More information about the compiler-dev
mailing list