jdk-24/langtools/test/tools/javac/lambda/inaccessibleMref01/InaccessibleMref01.out
Maurizio Cimadamore e788a0e536 8009129: Illegal access error when calling method reference
Javac generates method handle referencing non public type

Reviewed-by: jjg, rfield
2013-03-05 14:19:49 +00:00

3 lines
169 B
Plaintext

InaccessibleMref01.java:37:17: compiler.err.prob.found.req: (compiler.misc.invalid.mref: kindname.method, (compiler.misc.not.def.public.cant.access: m(), p1.C))
1 error