hg: lambda/lambda/langtools: Partially revert previous fix; lambda can return from *every* context (as per strawman). However there was a bug when final variable had a lambda initializer that got fixed as part of the previous push.

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Tue Jun 15 05:40:47 PDT 2010


Changeset: 535313e3087e
Author:    mcimadamore
Date:      2010-06-15 13:40 +0100
URL:       http://hg.openjdk.java.net/lambda/lambda/langtools/rev/535313e3087e

Partially revert previous fix; lambda can return from *every* context (as per strawman). However there was a bug when final variable had a lambda initializer that got fixed as part of the previous push.

! src/share/classes/com/sun/tools/javac/comp/Attr.java
- test/tools/javac/lambda/BadReturn02.java
- test/tools/javac/lambda/BadReturn02.out
! test/tools/javac/lambda/LambdaExpr02.java
+ test/tools/javac/lambda/LambdaExpr04.java



More information about the lambda-dev mailing list