Introduce variable tests fixed for multi-catch type

This commit is contained in:
Roman Shevchenko
2011-03-22 19:33:31 +01:00
parent 2270811fba
commit 00292e4696
4 changed files with 28 additions and 18 deletions
@@ -6,7 +6,7 @@ class C {
void m() {
try { }
catch (E1 | E2 ex) {
final B<? extends Number> b = ex;
final Exception b = ex;
}
}
}