hg: jdk9/dev/langtools: 8168480: Speculative attribution of lambda causes NPE in Flow

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Mon Oct 24 13:48:13 UTC 2016


Changeset: aacff1ac75a2
Author:    mcimadamore
Date:      2016-10-24 14:47 +0100
URL:       http://hg.openjdk.java.net/jdk9/dev/langtools/rev/aacff1ac75a2

8168480: Speculative attribution of lambda causes NPE in Flow
Summary: Flow attempts to analyze too much of a lambda body during attribution
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java
+ test/tools/javac/lambda/8168480/T8168480.java
+ test/tools/javac/lambda/8168480/T8168480b.java
+ test/tools/javac/lambda/8168480/T8168480b.out



More information about the jdk9-dev-changes mailing list