mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 15:41:26 +07:00
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
17 lines
298 B
Java
17 lines
298 B
Java
import org.jetbrains.annotations.*;
|
|
|
|
import java.util.*;
|
|
import java.util.stream.Stream;
|
|
|
|
public class LambdaAutoCloseable {
|
|
boolean opened;
|
|
|
|
void test3() throws Exception {
|
|
opened = true;
|
|
try( final AutoCloseable z = () -> {opened = false;}){
|
|
}
|
|
if (opened) {
|
|
|
|
}
|
|
}
|
|
} |