test/tools/javac/InnerNamedConstant_2.out

Thu, 25 Jul 2013 14:51:40 +0100

author
mcimadamore
date
Thu, 25 Jul 2013 14:51:40 +0100
changeset 1921
dae52d74c1fc
parent 830
02e6e7dd1a64
child 2525
2eb010b6cb22
permissions
-rw-r--r--

8020843: javac crashes on accessibility check with method reference with typevar receiver
Summary: method reference overload check doesn't walk through type-variable receivers
Reviewed-by: jjg

mcimadamore@830 1 InnerNamedConstant_2.java:22:20: compiler.err.icls.cant.have.static.decl: InnerNamedConstant_2.Inner2
mcimadamore@830 2 InnerNamedConstant_2.java:23:29: compiler.err.icls.cant.have.static.decl: InnerNamedConstant_2.Inner2
jjg@69 3 InnerNamedConstant_2.java:25:13: compiler.err.cant.assign.val.to.final.var: z
mcimadamore@830 4 InnerNamedConstant_2.java:34:26: compiler.err.icls.cant.have.static.decl: InnerNamedConstant_2.Inner3
duke@1 5 4 errors

mercurial