hg: jdk9/sandbox/langtools: 8081271: NPE while compiling a program with erroneous use of constructor reference expressions
chris.hegarty at oracle.com
chris.hegarty at oracle.com
Fri May 29 04:00:58 UTC 2015
Changeset: e72b28547e96
Author: sadayapalam
Date: 2015-05-29 09:15 +0530
URL: http://hg.openjdk.java.net/jdk9/sandbox/langtools/rev/e72b28547e96
8081271: NPE while compiling a program with erroneous use of constructor reference expressions
Summary: Missing enclosing instance error should not be swallowed when attributing constructor reference expressions.
Reviewed-by: mcimadamore, vromero
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
! test/tools/javac/lambda/MethodReference23.java
! test/tools/javac/lambda/MethodReference23.out
! test/tools/javac/lambda/MethodReference37.java
! test/tools/javac/lambda/MethodReference37.out
+ test/tools/javac/lambda/methodReference/MethodRefToInnerWithoutOuter.java
+ test/tools/javac/lambda/methodReference/MethodRefToInnerWithoutOuter.out
More information about the jdk9-sandbox-changes
mailing list