Tue, 29 Mar 2016 10:48:49 +0000
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
jjg@69 | 1 | NameCollision.java:13:31: compiler.err.intf.expected.here |
mcimadamore@690 | 2 | NameCollision.java:13:5: compiler.err.cyclic.inheritance: NameCollision.Runnable |
mcimadamore@690 | 3 | 2 errors |