RFR: 8303784: no- at Target annotations should be applicable to type parameter declarations [v2]
Liam Miller-Cushon
cushon at openjdk.org
Tue Mar 21 18:11:28 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`
I updated the patch so the change only applies for `--release >= 14`, based on feedback in the CSR
-------------
PR Comment: https://git.openjdk.org/jdk/pull/12914#issuecomment-1478363828
More information about the compiler-dev
mailing list