hg: lambda/lambda/langtools: Bug fixes:

Neal Gafter neal at gafter.com
Thu Jun 2 08:34:48 PDT 2011


Maurizio-

This changeset description hints that there is some special treatment
for java.lang.Void.  Where can I read about that?

Cheers,
Neal

On Thu, Jun 2, 2011 at 5:23 AM,  <maurizio.cimadamore at oracle.com> wrote:
> Changeset: 0d7682f13649
> Author:    mcimadamore
> Date:      2011-06-02 13:22 +0100
> URL:       http://hg.openjdk.java.net/lambda/lambda/langtools/rev/0d7682f13649
>
> Bug fixes:
> *) void-compatible lambda expression (that completes normally) should not be compatible with SAM descriptor whose return type is other than void/java.lang.Void
> *) lambda parameter inference: candidates with incompatible SAM descriptor args length should be removed from the set of applicable methods
>
> ! src/share/classes/com/sun/tools/javac/comp/Attr.java
> + test/tools/javac/lambda/TargetType21.java
> + test/tools/javac/lambda/TargetType21.out
> + test/tools/javac/lambda/TargetType22.java
> + test/tools/javac/lambda/TargetType22.out
> + test/tools/javac/lambda/TargetType23.java
> + test/tools/javac/lambda/TargetType23.out
>
>
>


More information about the lambda-dev mailing list