mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
check for abstract method implemented optimized: don't go through hierarchy if superClass is not abstract and there is no interfaces, would also fix asm implementations with 'broken' erasures inside
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
interface I {
|
||||
void m();
|
||||
}
|
||||
|
||||
<error descr="Class 'A' must either be declared abstract or implement abstract method 'm()' in 'I'">class A implements I</error> {}
|
||||
|
||||
class B extends A {}
|
||||
|
||||
class U {
|
||||
{
|
||||
new B() {};
|
||||
B b = new B();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user