Withdrawn: JDK-8267041: javac crash when creating lambda with capture inside a switch expression

duke duke at openjdk.java.net
Thu Jul 8 19:42:55 UTC 2021


On Thu, 13 May 2021 13:46:13 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> Variables declared inside switch expressions used as initializers to fields have the field as their owner. We need to make sure they are captured by `LambdaToMethod` - there were a few places where the checks were missing, leading to a crash later during code generation.

This pull request has been closed without being integrated.

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

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


More information about the compiler-dev mailing list