RFR: JDK-8250741: an annotation interface may not be declared as a local interface

Vicente Romero vicente.romero at oracle.com
Thu Jul 30 13:59:22 UTC 2020


ping, I will also need the CSR to be reviewed,

Thanks!
Vicente

On 7/29/20 3:08 PM, Vicente Romero wrote:
> Please review at [1] the fix for [2] with corresponding CSR at [3]. 
> The spec for Local Static Interfaces and Enum Classes [4] states that:
>
> |An annotation interface (9.6) may not be declared as a local interface|
> javac is accepting local annotations though. This fix is closing that 
> gap between the compiler and the spec,
>
> Thanks,
> Vicente
>
> [1] http://cr.openjdk.java.net/~vromero/8250741/webrev.00
> [2] Bug: https://bugs.openjdk.java.net/browse/JDK-8250741
> [3] CSR: https://bugs.openjdk.java.net/browse/JDK-8250790
> [4] 
> https://cr.openjdk.java.net/~gbierman/jep384/jep384-20200506/specs/local-statics-jls.html#jls-14.3

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20200730/4cee164b/attachment.htm>


More information about the compiler-dev mailing list