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
mcimadamore@3001 | 1 | T8066974.java:40:19: compiler.err.unreported.exception.need.to.catch.or.throw: java.lang.Exception |
mcimadamore@3001 | 2 | T8066974.java:41:19: compiler.err.unreported.exception.need.to.catch.or.throw: java.lang.Exception |
mcimadamore@3001 | 3 | T8066974.java:42:13: compiler.err.unreported.exception.need.to.catch.or.throw: java.lang.Exception |
mcimadamore@3001 | 4 | 3 errors |