git: openjdk/jdk: 8258897: wrong translation of capturing local classes inside nested lambdas

Jan Lahoda jlahoda at openjdk.java.net
Fri Feb 26 13:10:45 UTC 2021


Changeset: de3f519d
Author:    hltj <jiaywe at gmail.com>
Committer: Jan Lahoda <jlahoda at openjdk.org>
Date:      2021-02-26 13:09:47 +0000
URL:       https://git.openjdk.java.net/jdk/commit/de3f519d

8258897: wrong translation of capturing local classes inside nested lambdas

Co-authored-by: Bernard Blaser <bsrbnd at openjdk.org>
Reviewed-by: jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
+ test/langtools/tools/javac/lambda/8258897/CaptureVariables.java
+ test/langtools/tools/javac/lambda/8258897/CaptureVariablesAnonymous.java



More information about the jdk-changes mailing list