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