hg: jdk9/dev/langtools: 8062747: Compiler error when anonymous class uses method with parametrized exception

jan.lahoda at oracle.com jan.lahoda at oracle.com
Fri Nov 14 11:00:36 UTC 2014


Changeset: 0b467b70ad82
Author:    jlahoda
Date:      2014-11-14 11:58 +0100
URL:       http://hg.openjdk.java.net/jdk9/dev/langtools/rev/0b467b70ad82

8062747: Compiler error when anonymous class uses method with parametrized exception
Summary: When inferring lambda's thrown types, avoid tracking variables that are not under the lambda to avoid crashes.
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java
+ test/tools/javac/flow/T8062747.java



More information about the jdk9-dev-changes mailing list