Fix precise type calculation for degenerate case

This commit is contained in:
Roman Shevchenko
2012-10-30 11:58:55 +01:00
parent 29e57548a0
commit ce4ed7a604
2 changed files with 37 additions and 23 deletions
@@ -155,4 +155,14 @@ class C {
<error descr="Unhandled exception: C.E">throw x;</error>
}
}
void m11() throws E1 {
try {
System.out.println();
}
catch (Exception e) {
// test for precise types calculation fix
<error descr="Unhandled exception: java.lang.Exception">throw e;</error>
}
}
}