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:43 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

Guoxiong Li has updated the pull request incrementally with one additional commit since the last revision:

  Adjust comment.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6210/files
  - new: https://git.openjdk.java.net/jdk/pull/6210/files/05d2f715..379268c7

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6210&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6210&range=00-01

  Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 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