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

Guoxiong Li gli at openjdk.java.net
Tue Nov 2 11:31:26 UTC 2021


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

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

Commit messages:
 - 8263153: AssertionError at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:155)

Changes: https://git.openjdk.java.net/jdk/pull/6210/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6210&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8263153
  Stats: 64 lines in 2 files changed: 64 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6210.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6210/head:pull/6210

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


More information about the compiler-dev mailing list