Cross Reference: T7086595.java
xref
: /
openjdk7
/
langtools
/
test
/
tools
/
javac
/
7086595
/
T7086595.java
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
1118
N/A
/*
1118
N/A
* @test /nodynamiccopyright/
1118
N/A
* @bug 7086595
1118
N/A
* @summary Error message bug: name of initializer is 'null'
1118
N/A
* @
compile
/
fail
/
ref
=T7086595.out -XDrawDiagnostics
T7086595.java
1118
N/A
*/
1118
N/A
1118
N/A
class
T7086595
{
1118
N/A
1118
N/A
String
s =
"x"
;
1118
N/A
String
s =
nonExistent
;
1118
N/A
1118
N/A
int
foo
() {
1118
N/A
String
s =
"x"
;
1118
N/A
String
s =
nonExistent
;
1118
N/A
}
1118
N/A
1118
N/A
static
int
bar
() {
1118
N/A
String
s =
"x"
;
1118
N/A
String
s =
nonExistent
;
1118
N/A
}
1118
N/A
1118
N/A
{
1118
N/A
String
s =
"x"
;
1118
N/A
String
s =
nonExistent
;
1118
N/A
}
1118
N/A
1118
N/A
static
{
1118
N/A
String
s =
"x"
;
1118
N/A
String
s =
nonExistent
;
1118
N/A
}
1118
N/A
}