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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Liam Miller-Cushon-2
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