langtools/test/tools/javac/T4848619/T4848619a.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=T4848619a.out -XDrawDiagnostics T4848619a.java
 */

public class T4848619a {
    static void m() { System.err.println(X); };
    private static final String X = X;
}