RFR: 8292159: TYPE_USE annotations on generic type arguments of record components discarded

Vicente Romero vromero at openjdk.org
Tue Oct 18 19:54:05 UTC 2022


On Tue, 18 Oct 2022 07:54:02 GMT, Srikanth Adayapalam <sadayapalam at openjdk.org> wrote:

> Handle carryover of type annotations to record components in a place which will be
>     reached regardless of whether there are any annotations in a SE5 annotation location.

test/langtools/tools/javac/records/RecordCompilationTests.java line 1584:

> 1582:                     """;
> 1583: 
> 1584:             String[] generalOptions = {

for completeness I think that the test should be run with and without annotation processor

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

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


More information about the compiler-dev mailing list