Integrated: 8274942: AssertionError at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:155)

Guoxiong Li gli at openjdk.java.net
Wed Nov 3 02:02:19 UTC 2021


On Tue, 2 Nov 2021 11:23:05 GMT, Guoxiong Li <gli at openjdk.org> wrote:

> Hi all,
> 
> Currently, the compiler doesn't `annotate` the internal type annotations of the annotation element value so that the field `JCAnnotation.attribute` is `null` and the compiler crashes. This patch adds the missed scaning step and the corresponding test case.
> 
> Thanks for taking the time to review.
> 
> Best Regards,
> -- Guoxiong

This pull request has now been integrated.

Changeset: 2b02b6f5
Author:    Guoxiong Li <gli at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/2b02b6f513b062261195ca1edd059d16abb7bec6
Stats:     63 lines in 2 files changed: 63 ins; 0 del; 0 mod

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

Reviewed-by: vromero

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

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


More information about the compiler-dev mailing list