mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-28 03:00:41 +00:00
13 lines
305 B
Java
13 lines
305 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 4848619
|
|
* @summary static final variable declared after use and self initialized
|
|
* @author Peter von der Ahé
|
|
* @compile/fail/ref=T4848619b.out -XDrawDiagnostics T4848619b.java
|
|
*/
|
|
|
|
public class T4848619b {
|
|
int getX() { return y; }
|
|
int y = y;
|
|
}
|