hg: jdk8/tl/langtools: 8012557: Implement lambda methods on interfaces as private; ...
robert.field at oracle.com
robert.field at oracle.com
Fri Oct 11 06:27:37 UTC 2013
Changeset: 1ce8405af5fe
Author: rfield
Date: 2013-10-10 23:26 -0700
URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/1ce8405af5fe
8012557: Implement lambda methods on interfaces as private
8016320: Method reference in subinterface of type I.super::foo produces exception at runtime
Summary: Now that the VM supports interface instance private methods, lambda methods and lambda bridges are always private. Access is now through invokespecial.
Reviewed-by: vromero, jlahoda
! src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! src/share/classes/com/sun/tools/javac/jvm/Pool.java
+ test/tools/javac/lambda/8012557/A.java
+ test/tools/javac/lambda/8012557/B.java
+ test/tools/javac/lambda/8012557/C.java
+ test/tools/javac/lambda/8012557/PrivateLambdas.java
+ test/tools/javac/lambda/8012557/SAM.java
+ test/tools/javac/lambda/8016320/IllegalBridgeModifier.java
More information about the security-dev
mailing list