author | robm |
Tue, 13 Sep 2016 14:47:29 +0100 | |
changeset 40938 | 5b0977acc842 |
parent 27119 | b80b6a2e137f |
permissions | -rw-r--r-- |
10 | 1 |
/* |
27119
b80b6a2e137f
8058410: Group 10b: golden files for tests in tools/javac dir
sogoel
parents:
5520
diff
changeset
|
2 |
* @test /nodynamiccopyright/ |
10 | 3 |
* @bug 4848619 |
4 |
* @summary static final variable declared after use and self initialized |
|
5 |
* @author Peter von der Ah\u00e9 |
|
27119
b80b6a2e137f
8058410: Group 10b: golden files for tests in tools/javac dir
sogoel
parents:
5520
diff
changeset
|
6 |
* @compile/fail/ref=T4848619b.out -XDrawDiagnostics T4848619b.java |
10 | 7 |
*/ |
8 |
||
9 |
public class T4848619b { |
|
10 |
int getX() { return y; } |
|
11 |
int y = y; |
|
12 |
} |