/*
* @test /nodynamiccopyright/
* @bug 6558548 7039937
* @summary The compiler needs to be aligned with clarified specification of throws
* @compile/fail/ref=T6558548_latest.out -XDrawDiagnostics T6558548.java
* @compile/fail/ref=T6558548_6.out -source 6 -Xlint:-options -XDrawDiagnostics T6558548.java
*/
class T6558548 {
void nothing() {}
void m1a() {
try {
}
}
void m1b() {
try {
}
}
void m1c() {
try {
}
}
void m1d() {
try {
}
}
void m3() {
try {
checked();
}
}
void m4() {
try {
runtime();
}
}
void m5() {
try {
nothing();
}
}
void m6() {
try {
checked();
}
}
void m7() {
try {
runtime();
}
}
void m9() {
try {
checked();
}
}
void m10() {
try {
runtime();
}
}
void m11() {
try {
nothing();
}
}
void m12() {
try {
checked();
}
catch(RuntimeException exc) { }
}
void m13() {
try {
runtime();
}
catch(RuntimeException exc) { }
}
void m14() {
try {
nothing();
}
catch(RuntimeException exc) { }
}
void m15() {
try {
checked();
}
catch(RuntimeException exc) { }
}
void m16() {
try {
runtime();
}
catch(RuntimeException exc) { }
}
void m17() {
try {
nothing();
}
catch(RuntimeException exc) { }
}
void m18() {
try {
checked();
}
catch(RuntimeException exc) { }
catch(InterruptedException exc) { }
}
void m19() {
try {
runtime();
}
catch(RuntimeException exc) { }
}
void m20() {
try {
nothing();
}
catch(RuntimeException exc) { }
}
void m21() {
try {
checked();
}
catch(RuntimeException exc) { }
}
void m22() {
try {
runtime();
}
catch(RuntimeException exc) { }
}
void m23() {
try {
nothing();
}
catch(RuntimeException exc) { }
}
void m24() {
try {
checked();
}
catch(RuntimeException exc) { }
}
void m25() {
try {
runtime();
}
catch(RuntimeException exc) { }
}
void m26() {
try {
nothing();
}
catch(RuntimeException exc) { }
}
void m27() {
try {
checked();
}
catch(RuntimeException exc) { }
catch(InterruptedException exc) { }
}
void m28() {
try {
runtime();
}
catch(RuntimeException exc) { }
}
void m29() {
try {
nothing();
}
catch(RuntimeException exc) { }
}
void m30() {
try {
checked();
}
catch(RuntimeException exc) { }
}
void m31() {
try {
runtime();
}
catch(RuntimeException exc) { }
}
void m32() {
try {
nothing();
}
catch(RuntimeException exc) { }
}
void m33() {
try {
checked();
}
}
void m34() {
try {
runtime();
}
}
void m35() {
try {
nothing();
}
}
}