hg: jdk8u/jdk8u-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 19:32:57 UTC 2014


Changeset: f7f3f96999ba
Author:    jlahoda
Date:      2014-11-14 20:27 +0100
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/langtools/rev/f7f3f96999ba

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/share/classes/com/sun/tools/javac/comp/Flow.java
+ test/tools/javac/flow/T8062747.java



More information about the jdk8u-dev-changes mailing list