Sat, 22 Dec 2018 13:10:38 -0800
Added tag jdk8u202-b25 for changeset 15d8c732039b
1 /*
2 * @test /nodynamiccopyright/
3 * @bug 8027886
4 * @summary Receiver parameters must not be final
5 * @compile/fail/ref=FinalReceiverTest.out -XDrawDiagnostics FinalReceiverTest.java
6 */
8 class FinalReceiverTest {
9 void m() {
10 class Inner {
11 Inner(final FinalReceiverTest FinalReceiverTest.this) {}
12 }
13 }
14 }