RFR: 8303784: no- at Target annotations should be applicable to type parameter declarations

Liam Miller-Cushon cushon at openjdk.org
Wed Mar 8 00:16:06 UTC 2023


Please consider this fix for https://bugs.openjdk.org/browse/JDK-8303784, which make `@Target`-less annotations applicable to type parameter declarations.

`@Target`-less annotations are applicable to 'all declaration contexts', which includes type parameter declarations.

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

Commit messages:
 - 8303784: no- at Target annotations should be applicable to type parameter declarations

Changes: https://git.openjdk.org/jdk/pull/12914/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12914&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8303784
  Stats: 43 lines in 2 files changed: 42 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/12914.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12914/head:pull/12914

PR: https://git.openjdk.org/jdk/pull/12914


More information about the compiler-dev mailing list