test/tools/javac/T6231847.out

Tue, 29 Mar 2016 10:48:49 +0000

author
dbuck
date
Tue, 29 Mar 2016 10:48:49 +0000
changeset 3102
e74dd6df4d4c
parent 0
959103a6100f
permissions
-rw-r--r--

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

     1 T6231847.java:15:21: compiler.err.anon.class.impl.intf.no.typeargs
     2 T6231847.java:16:30: compiler.err.anon.class.impl.intf.no.args
     3 T6231847.java:17:16: compiler.err.anon.class.impl.intf.no.qual.for.new
     4 T6231847.java:18:16: compiler.err.anon.class.impl.intf.no.qual.for.new
     5 T6231847.java:18:41: compiler.err.anon.class.impl.intf.no.args
     6 T6231847.java:18:23: compiler.err.anon.class.impl.intf.no.typeargs
     7 T6231847.java:19:16: compiler.err.qualified.new.of.static.class: T6231847.T6231847C
     8 T6231847.java:19:34: compiler.err.illegal.qual.not.icls: T6231847.T6231847C
     9 8 errors

mercurial