mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
java 8: final and default/static in interfaces
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
interface A {
|
||||
final <error descr="Illegal combination of modifiers: 'static' and 'final'">static</error> void foo() {}
|
||||
final <error descr="Illegal combination of modifiers: 'default' and 'final'">default</error> void foo() {}
|
||||
}
|
||||
+1
@@ -33,6 +33,7 @@ public class Interface8MethodsHighlightingTest extends LightDaemonAnalyzerTestCa
|
||||
public void testStaticMethodCalls() { doTest(false, false); }
|
||||
public void testDefaultMethodOverrideEquivalentObject() { doTest(false, false); }
|
||||
public void testStaticMethods() { doTest(false, false); }
|
||||
public void testFinalStaticDefaultMethods() { doTest(false, false); }
|
||||
public void testDefaultSupersInStaticContext() {
|
||||
doTest(false, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user