2007-12-01 00:00:00 +00:00
|
|
|
/*
|
2014-10-10 21:41:50 +00:00
|
|
|
* @test /nodynamiccopyright/
|
2007-12-01 00:00:00 +00:00
|
|
|
* @bug 4848619
|
|
|
|
* @summary static final variable declared after use and self initialized
|
|
|
|
* @author Peter von der Ah\u00e9
|
2014-10-10 21:41:50 +00:00
|
|
|
* @compile/fail/ref=T4848619b.out -XDrawDiagnostics T4848619b.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
public class T4848619b {
|
|
|
|
int getX() { return y; }
|
|
|
|
int y = y;
|
|
|
|
}
|