mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-16 00:14:33 +07:00
IDEA-226296 Forward compatibility inspection
GitOrigin-RevId: eadb0e5ec707311f802879dd347fa7a72a67d0af
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f2f59bbd44
commit
a815811dba
-3
@@ -1,3 +0,0 @@
|
||||
class Test {
|
||||
void <warning descr="Use of '_' as an identifier is not supported in releases after Java 8">_</warning>(){}
|
||||
}
|
||||
-24
@@ -1,24 +0,0 @@
|
||||
class Yield {
|
||||
class X {
|
||||
void test() {
|
||||
<warning descr="Unqualified call of 'yield' method might not be supported in releases after Java 13">yield</warning>("x");
|
||||
<warning descr="Unqualified call of 'yield' method might not be supported in releases after Java 13">yield</warning>(1);
|
||||
}
|
||||
}
|
||||
|
||||
void test() {
|
||||
<warning descr="Unqualified call of 'yield' method might not be supported in releases after Java 13">yield</warning>("x");
|
||||
<warning descr="Unqualified call of 'yield' method might not be supported in releases after Java 13">yield</warning>(1);
|
||||
}
|
||||
|
||||
void varYield() {
|
||||
int yield = 5;
|
||||
yield++;
|
||||
yield = 7;
|
||||
}
|
||||
|
||||
void yield(int x) {}
|
||||
|
||||
static void yield(String x) {
|
||||
}
|
||||
}
|
||||
-1
@@ -1 +0,0 @@
|
||||
class <warning descr="Usage of 'var' as class name is not supported in releases after Java 9">var</warning> {}
|
||||
Reference in New Issue
Block a user