T7030606.java revision 948
/*
* @test /nodynamiccopyright/
* @bug 7030606
*
* @summary Project-coin: multi-catch types should be pairwise disjoint
* @compile/fail/ref=T7030606.out -XDrawDiagnostics T7030606.java
*/
class T7030606 {
void m1() {
try {
e1();
e2();
}
void m2() {
try {
e1();
e2();
}
void m3() {
try {
e1();
e2();
}
void m4() {
try {
e1();
e2();
}
void m5() {
try {
e1();
e2();
}
void m6() {
try {
e1();
e2();
}
}