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

Jan Lahoda jlahoda at openjdk.java.net
Wed Sep 22 12:56:00 UTC 2021


On Tue, 21 Sep 2021 11:05:45 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> For code like:
> 
> import java.lang.annotation.Repeatable;
> @Repeatable(TestContainer.class)
> @interface Test { int value(); }
> 
> 
> javac crashes like this:
> 
> $ javac -XDdev /tmp/Test.java

This pull request has now been integrated.

Changeset: ba7d550c
Author:    Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/ba7d550c6e6d84b36d81aafa1dfded0c99b5c248
Stats:     169 lines in 3 files changed: 168 ins; 0 del; 1 mod

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

Reviewed-by: vromero

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

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


More information about the compiler-dev mailing list