RFR: 8261088: Repeatable annotations without @Target cannot have containers that target module declarations

Liam Miller-Cushon cushon at openjdk.java.net
Thu Feb 4 20:58:54 UTC 2021


Please review this fix to consolidate handling of default `@Target`s for repeated annotations, and permit repeatable annotations without an `@Target` to have container annotations that explicitly target `MODULE`.

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

Commit messages:
 - 8261088: Repeatable annotations without @Target cannot have containers that target module declarations

Changes: https://git.openjdk.java.net/jdk/pull/2412/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2412&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8261088
  Stats: 88 lines in 4 files changed: 66 ins; 16 del; 6 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2412.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2412/head:pull/2412

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


More information about the compiler-dev mailing list