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

Liam Miller-Cushon cushon at openjdk.java.net
Thu Jan 28 22:38:49 UTC 2021


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.

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

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

Changes: https://git.openjdk.java.net/jdk/pull/2303/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2303&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8231436
  Stats: 12 lines in 3 files changed: 10 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2303.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2303/head:pull/2303

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


More information about the compiler-dev mailing list