1/* 2 * @test /nodynamiccopyright/ 3 * @bug 4848619 4 * @summary static final variable declared after use and self initialized 5 * @author Peter von der Ah\u00e9 6 * @compile/fail/ref=T4848619a.out -XDrawDiagnostics T4848619a.java 7 */ 8 9public class T4848619a { 10 static void m() { System.err.println(X); }; 11 private static final String X = X; 12} 13