RFR: 8231436: Fix the applicability of a no- at Target annotation type

Joe Darcy darcy at openjdk.java.net
Mon Feb 1 20:43:44 UTC 2021


On Mon, 1 Feb 2021 20:18:09 GMT, Joel Borggrén-Franck <jfranck at openjdk.org> wrote:

>> Please review this fix to add `ElementType.MODULE` to the default list of annotation targets, to allow annotations without an explicit `@Target` to be used on module declarations.
>
> Hi Liam,
> 
> Code looks good, but I'd prefer if you file a more specific bug. Maybe also add a small test that doesn't compile before the fix?

Please file a CSR so that the behavioral compatibly change can be assessed.

-------------

PR: https://git.openjdk.java.net/jdk/pull/2303


More information about the compiler-dev mailing list