hg: lambda/lambda/langtools: Method reference bug fixes:

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Thu Jan 6 05:26:00 PST 2011

Changeset: 89631f9e86b7
Author:    mcimadamore
Date:      2011-01-06 13:19 +0000
URL:       http://hg.openjdk.java.net/lambda/lambda/langtools/rev/89631f9e86b7

Method reference bug fixes:
*) spurious transitional 292 warnings when using method references
*) new semantics of statically qualified method references when used in non-static contexts
*) casting a method reference to a SAM type causes ClassCastException

! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Lower.java
+ test/tools/javac/lambda/MethodReference14.java
+ test/tools/javac/lambda/MethodReference15.java
+ test/tools/javac/lambda/MethodReference16.java

More information about the lambda-dev mailing list