RFR: 8273234: extended 'for' with expression of type tvar causes the compiler to crash

Jan Lahoda jlahoda at openjdk.java.net
Fri Sep 3 06:13:27 UTC 2021

On Thu, 2 Sep 2021 04:18:38 GMT, Vicente Romero <vromero at openjdk.org> wrote:

> Please review this one liner patch that is fixing a crash in the compiler. Method `Attr::visitForeachLoop` is doing a lookup for method `iterator` without making sure that the `site` where the method is being looked for is not a type variable.

Looks reasonable.


Marked as reviewed by jlahoda (Reviewer).

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

More information about the compiler-dev mailing list