Cross Reference: T5017953.java
xref
: /
openjdk7
/
jdk
/
src
/
share
/
demo
/
jvmti
/
mtrace
/
sample.makefile.txt
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
852
N/A
/*
852
N/A
* @test /nodynamiccopyright/
852
N/A
* @bug 5017953
852
N/A
* @summary spurious cascaded diagnostics when name not found
852
N/A
* @
compile
/
fail
/
ref
=T5017953.out -XDrawDiagnostics
T5017953.java
852
N/A
*/
852
N/A
852
N/A
class
T5017953
{
852
N/A
852
N/A
int
f =
0
;
852
N/A
void
test
(
int
i) {}
852
N/A
852
N/A
{
test
(
NonExistentClass
.f ++);
852
N/A
test
(
1
+
NonExistentClass
.f);
852
N/A
test
(
NonExistentClass
.f +
1
);
852
N/A
test
(
NonExistentClass
.f +
NonExistentClass
.f);
852
N/A
test
(
NonExistentClass
.f +=
1
);
852
N/A
test
(f +=
NonExistentClass
.f);
852
N/A
}
852
N/A
}