hg: lambda/lambda/langtools: Lexical scope fixes:

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Mon Nov 15 09:08:16 PST 2010

Changeset: 4335e2277cbd
Author:    mcimadamore
Date:      2010-11-15 17:07 +0000
URL:       http://hg.openjdk.java.net/lambda/lambda/langtools/rev/4335e2277cbd

Lexical scope fixes:
*) wrong dispatching of Object members (e.g. toString()) inside a lambda in case Object member not overriden in enclosing class
*) javac crash when compiling a lambda expression containing an Object.getClass() call
*) NoSuchField error when executing a lambda expression containing 'this'

! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Unlambda.java
+ test/tools/javac/lambda/LambdaScope03.java

More information about the lambda-dev mailing list