hg: jdk/jdk13: 8220041: NullPointerException at jdk.compiler/com.sun.tools.javac.jvm.Code.emitop0
jan.lahoda at oracle.com
jan.lahoda at oracle.com
Wed Jul 10 07:17:11 UTC 2019
Changeset: 4a03245ffc2f
Author: jlahoda
Date: 2019-07-10 09:04 +0200
URL: https://hg.openjdk.java.net/jdk/jdk13/rev/4a03245ffc2f
8220041: NullPointerException at jdk.compiler/com.sun.tools.javac.jvm.Code.emitop0
Summary: LambdaToMethod must correctly capture local variables inside switch expressions inside local variable initializers.
Reviewed-by: mcimadamore, vromero
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
+ test/langtools/tools/javac/switchexpr/LambdaCapture.java
More information about the jdk-all-changes
mailing list