hg: jdk10/master: 8169345: javac crash when local from enclosing context is captured multiple times

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Mon Oct 9 12:07:55 UTC 2017


Changeset: 6cb6ef406e97
Author:    mcimadamore
Date:      2017-10-09 13:03 +0100
URL:       http://hg.openjdk.java.net/jdk10/master/rev/6cb6ef406e97

8169345: javac crash when local from enclosing context is captured multiple times
Summary: captured variables imported from multiple enclosing scopes are not handled correctly
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
+ test/langtools/tools/javac/8169345/T8169345a.java
+ test/langtools/tools/javac/8169345/T8169345b.java
+ test/langtools/tools/javac/8169345/T8169345c.java



More information about the jdk10-all-changes mailing list