Cross Reference: Neg06.java
xref
: /
openjdk7
/
langtools
/
test
/
tools
/
javac
/
multicatch
/
Neg06.java
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
Neg06.java revision 773
2
N/A
/*
2
N/A
* @test /nodynamiccopyright/
2
N/A
* @bug 7002070
2
N/A
*
2
N/A
* @summary If catch clause has an incompatible type, error pointer points to first exception type in list
2
N/A
* @author mcimadamore
2
N/A
* @
compile
/
fail
/
ref
=Neg06.out -XDrawDiagnostics
Neg06.java
2
N/A
*
2
N/A
*/
2
N/A
2
N/A
class
Neg06
{
2
N/A
void
test
() {
2
N/A
try
{ }
2
N/A
catch
(
String
|
Integer
s) {}
2
N/A
}
2
N/A
}
2
N/A