class C { int f(boolean b) { int i = 0; try { i = 1; if (b) throw new RuntimeException(); } finally { i = 2; } return i; } }