Cross Reference: NameCollision.java
xref
: /
openjdk7
/
langtools
/
test
/
tools
/
javac
/
diags
/
examples
/
OverrideVarargsMissing.java
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
NameCollision.java revision 610
0
N/A
/**
0
N/A
*
@test
/nodynamiccopyright/
0
N/A
*
@bug
4222327 4785453
0
N/A
*
@summary
Interface names for classes in the same scope should not
0
N/A
* cause the compiler to crash.
0
N/A
*
610
N/A
*
@compile
/
fail
/
ref
=NameCollision.out -XDrawDiagnostics
NameCollision.java
0
N/A
*/
0
N/A
0
N/A
// The test fails if the compiler crashes.
0
N/A
0
N/A
public
class
NameCollision
{
0
N/A
class
Runnable
implements
Runnable
{ }
// ERROR
0
N/A
}