hg: lambda/lambda/jdk: Changes per Brian Goetz code review comments (partial):

robert.field at oracle.com robert.field at oracle.com
Tue Feb 12 18:23:09 PST 2013

Changeset: 5866f890cf6e
Author:    rfield
Date:      2013-02-12 18:22 -0800
URL:       http://hg.openjdk.java.net/lambda/lambda/jdk/rev/5866f890cf6e

Changes per Brian Goetz code review comments (partial):
Changed user-visible error messages from SAM to "functional interface".
In much of javadoc, changed from "SAM" to "functional interface".
Remove try-catch in readResolve.
Javadoc fixes.
In ICLM, add @throws for LambdaConversionException.
Added test for functional interface being interface.
Move consistency tests and support to AbstractValidatingLambdaMetafactory.
Collapsed overlapping normal/alt MF constructors.
Fleshed out the text of "complex bridging situation".
Remove unused and decaying MethodHandleProxyLambdaMetafactory.

! src/share/classes/java/lang/invoke/AbstractValidatingLambdaMetafactory.java
! src/share/classes/java/lang/invoke/InnerClassLambdaMetafactory.java
! src/share/classes/java/lang/invoke/LambdaMetafactory.java
- src/share/classes/java/lang/invoke/MethodHandleProxyLambdaMetafactory.java
! src/share/classes/java/lang/invoke/SerializedLambda.java
+ test/java/lang/invoke/lambda/LambdaSerialization.java

More information about the lambda-dev mailing list