RFR: 8274942: AssertionError at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:155) [v2]

Guoxiong Li gli at openjdk.java.net
Wed Nov 3 01:52:47 UTC 2021


On Tue, 2 Nov 2021 16:19:18 GMT, Vicente Romero <vromero at openjdk.org> wrote:

>> Guoxiong Li has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Adjust comment.
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Annotate.java line 677:
> 
>> 675: 
>> 676:         // Scan the annotation element value and then attribute
>> 677:         // the internal annotations to prevent the compiler from crashing
> 
> I would remove the: `to prevent the compiler from crashing` part, suggestion:
> 
> 
> Scan the annotation element value and then attribute nested
> annotations if present

Fixed.

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

PR: https://git.openjdk.java.net/jdk/pull/6210


More information about the compiler-dev mailing list