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

Vicente Romero vromero at openjdk.java.net
Fri Sep 3 13:14:33 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.

thanks for the review


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

More information about the compiler-dev mailing list