langtools/test/tools/javac/T4848619/T4848619b.java
author avstepan
Tue, 19 May 2015 16:04:14 +0400
changeset 30655 d83f50188ca9
parent 27119 b80b6a2e137f
permissions -rw-r--r--
8080422: some docs cleanup for core libs Summary: some docs cleanup Reviewed-by: rriggs, lancea

/*
 * @test    /nodynamiccopyright/
 * @bug     4848619
 * @summary static final variable declared after use and self initialized
 * @author  Peter von der Ah\u00e9
 * @compile/fail/ref=T4848619b.out -XDrawDiagnostics T4848619b.java
 */

public class T4848619b {
    int getX() { return y; }
    int y = y;
}