1118N/A/*
1118N/A * @test /nodynamiccopyright/
1118N/A * @bug 7086595
1118N/A * @summary Error message bug: name of initializer is 'null'
1118N/A * @compile/fail/ref=T7086595.out -XDrawDiagnostics T7086595.java
1118N/A */
1118N/A
1118N/Aclass T7086595 {
1118N/A
1118N/A String s = "x";
1118N/A String s = nonExistent;
1118N/A
1118N/A int foo() {
1118N/A String s = "x";
1118N/A String s = nonExistent;
1118N/A }
1118N/A
1118N/A static int bar() {
1118N/A String s = "x";
1118N/A String s = nonExistent;
1118N/A }
1118N/A
1118N/A {
1118N/A String s = "x";
1118N/A String s = nonExistent;
1118N/A }
1118N/A
1118N/A static {
1118N/A String s = "x";
1118N/A String s = nonExistent;
1118N/A }
1118N/A}