mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 15:41:26 +07:00
[java] adds support for Java 9's improved try-with-resources (IDEA-140266)
PSI, parser, highlighting, exception analysis, control flow, completion.
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
import java.io.*;
|
||||
|
||||
class UnsupportedFeatures {
|
||||
void m() throws Exception {
|
||||
Reader r1 = new FileReader("/dev/null");
|
||||
try (<error descr="Resource references are not supported at this language level">r1</error>; Reader r2 = new FileReader("/dev/null")) { }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user