Integrated: 8273234: extended 'for' with expression of type tvar causes the compiler to crash
vromero at openjdk.java.net
Fri Sep 3 13:14:35 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.
This pull request has now been integrated.
Author: Vicente Romero <vromero at openjdk.org>
Stats: 50 lines in 2 files changed: 49 ins; 0 del; 1 mod
8273234: extended 'for' with expression of type tvar causes the compiler to crash
More information about the compiler-dev