mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-21 17:58:07 +02:00
18 lines
291 B
Java
18 lines
291 B
Java
![]() |
import java.io.*;
|
||
|
|
||
|
public class TryWorksLikeEnvironment {
|
||
|
static int i;
|
||
|
public static void main(String[] args) {
|
||
|
try {
|
||
|
foo();
|
||
|
try {
|
||
|
i++;
|
||
|
} finally {
|
||
|
i++;
|
||
|
}
|
||
|
} catch (FileNotFoundException e) {
|
||
|
}
|
||
|
}
|
||
|
static void foo() throws FileNotFoundException {}
|
||
|
}
|