Description
Code example:
abstract class A { abstract Object getFoo(); void test() { println getFoo(); } } class B extends A { static Object foo; } new B().test() /* java.lang.AbstractMethodError: A.getFoo()Ljava/lang/Object; at A.test(Script1.groovy:5) at A$test.call(Unknown Source) at Script1.run(Script1.groovy:14) */
CompileStatic will not report an error as well.
Attachments
Issue Links
- links to