You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678910111213141516171819202122 |
- public class NestedFinally {
- public static void main(String[] args) {
- m(3);
- }
- public static Object m(int key) {
- try {
- int x = 3;
- int y = 4;
- int i = 5;
- try {
- return null;
- } finally {
- i++;
- }
- } finally {
- Object x = null;
- Object y = null;
- Object i = null;
- key++;
- }
- }
- }
|