mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
8 lines
268 B
Java
8 lines
268 B
Java
import java.io.*;
|
|
|
|
class UnsupportedFeatures {
|
|
void m() throws Exception {
|
|
Reader r1 = new FileReader("/dev/null");
|
|
try (<error descr="Resource references are not supported at language level '8'">r1</error>; Reader r2 = new FileReader("/dev/null")) { }
|
|
}
|
|
} |