hg: jdk8u/jdk8u-dev/langtools: 8143647: Javac compiles method reference that allows results in an IllegalAccessError
david.buck at oracle.com
david.buck at oracle.com
Tue Mar 29 13:47:02 UTC 2016
Changeset: e74dd6df4d4c
Author: dbuck
Date: 2016-03-29 10:48 +0000
URL: http://hg.openjdk.java.net/jdk8u/jdk8u-dev/langtools/rev/e74dd6df4d4c
8143647: Javac compiles method reference that allows results in an IllegalAccessError
Summary: Lambda implementation method synthesized by javac should not mention inaccessible types.
Reviewed-by: mcimadamore
! src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
+ test/tools/javac/lambda/MethodReference75.java
+ test/tools/javac/lambda/pkg/PublicDerived8143647.java
More information about the jdk8u-dev-changes
mailing list