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

Liam Miller-Cushon cushon at openjdk.org
Tue Mar 14 15:52:28 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.

Liam Miller-Cushon has updated the pull request incrementally with one additional commit since the last revision:

  Move test under `test/langtools/tools/javac/annotations/typeAnnotations`

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12914/files
  - new: https://git.openjdk.org/jdk/pull/12914/files/5be37a46..d88c6d1e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12914&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12914&range=00-01

  Stats: 0 lines in 1 file changed: 0 ins; 0 del; 0 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