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@1415 | 1 | EffectivelyFinalTest.java:25:47: compiler.err.var.might.not.have.been.initialized: y |
mcimadamore@1415 | 2 | EffectivelyFinalTest.java:39:47: compiler.err.cant.ref.non.effectively.final.var: y, (compiler.misc.inner.cls) |
mcimadamore@1415 | 3 | EffectivelyFinalTest.java:43:45: compiler.err.cant.ref.non.effectively.final.var: x, (compiler.misc.inner.cls) |
mcimadamore@1415 | 4 | EffectivelyFinalTest.java:48:45: compiler.err.cant.ref.non.effectively.final.var: x, (compiler.misc.inner.cls) |
mcimadamore@1415 | 5 | EffectivelyFinalTest.java:53:45: compiler.err.cant.ref.non.effectively.final.var: y, (compiler.misc.inner.cls) |
mcimadamore@1297 | 6 | 5 errors |