hg: jdk9/sandbox/langtools: 8054220: Debugger doesn't show variables *outside* lambda; ...

chris.hegarty at oracle.com chris.hegarty at oracle.com
Thu Mar 26 10:51:00 UTC 2015


Changeset: c4a6ba06abeb
Author:    jlahoda
Date:      2015-03-26 11:34 +0100
URL:       http://hg.openjdk.java.net/jdk9/sandbox/langtools/rev/c4a6ba06abeb

8054220: Debugger doesn't show variables *outside* lambda
8058227: Debugger has no access to outer variables inside Lambda
Summary: Put local variables captured by lambda into the lambda method's LocalVariableTable.
Reviewed-by: mcimadamore, rfield

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Code.java
! test/tools/javac/MethodParameters/LambdaTest.out
! test/tools/javac/lambda/LocalVariableTable.java



More information about the jdk9-sandbox-changes mailing list