Debian Codegraph @

framework/tests/all-systems/Issue1586.java

raw
1 // Test case for Issue #1586:
2 // https://github.com/typetools/checker-framework/issues/1586
3
4 import java.util.concurrent.ExecutorService;
5
6 class T {
7 void f(ExecutorService es) {
8 es.execute(
9 () -> {
10 try {
11 System.err.println();
12 } catch (Throwable throwable) {
13 System.err.println();
14 } finally {
15 es.execute(
16 () -> {
17 System.err.println();
18 });
19 }
20 });
21 }
22 }