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

Vicente Romero vromero at openjdk.org
Tue Mar 14 17:53:44 UTC 2023


On Tue, 14 Mar 2023 15:52:28 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

>> 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`

Marked as reviewed by vromero (Reviewer).

test/langtools/tools/javac/annotations/typeAnnotations/NoTargetOnTypeParameterDeclaration.java line 1:

> 1: /*

thanks!

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

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


More information about the compiler-dev mailing list