RFR: 8270139: jshell InternalError crash for import of @Repeatable followed by unresolved ref

Jan Lahoda jlahoda at openjdk.java.net
Tue Sep 21 11:14:06 UTC 2021


For code like:

import java.lang.annotation.Repeatable;
@Repeatable(TestContainer.class)
@interface Test { int value(); }


javac crashes like this:

$ javac -XDdev /tmp/Test.java

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

Commit messages:
 - 8270139: jshell InternalError crash for import of @Repeatable followed by unresolved ref

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

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


More information about the compiler-dev mailing list