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:
Anna.Kozlova
2016-04-11 21:51:18 +02:00
parent 1466b0155e
commit fc14dddfd8
3 changed files with 22 additions and 0 deletions
@@ -69,4 +69,7 @@ public class LightAdvHighlightingJdk6Test extends LightDaemonAnalyzerTestCase {
public void testUnhandledErrorsFromEnumConstructors() {
doTest(true, false);
}
public void testSkipAbstractMethodsIfTheyMustBeDeclaredInNonAbstractSuperclass() {
doTest(false, false);
}
}