hg: lambda/lambda/jdk: Bugfixes in lambda translation.

brian.goetz at oracle.com brian.goetz at oracle.com
Wed Apr 11 14:18:27 PDT 2012

Changeset: 1555376b4099
Author:    briangoetz
Date:      2012-04-11 17:18 -0400
URL:       http://hg.openjdk.java.net/lambda/lambda/jdk/rev/1555376b4099

Bugfixes in lambda translation.

For SAM types that extend other SAM types and do not override the
SAM method, the metafactory was generating signatures based on the
base class, not the desired subclass.  Fixes two of the three current
test failures in LambdaTranslationTest2.

! src/share/classes/java/lang/invoke/InnerClassGenerator.java
! src/share/classes/java/lang/invoke/LambdaMetafactory.java
! test-ng/tests/org/openjdk/tests/javac/LambdaTranslationTest2.java

More information about the lambda-dev mailing list