You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2022/02/03 22:32:00 UTC

[jira] [Closed] (GROOVY-10341) "super" invocations of abstract methods should be caught at compile time with static compilation enabled

     [ https://issues.apache.org/jira/browse/GROOVY-10341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King closed GROOVY-10341.
------------------------------

> "super" invocations of abstract methods should be caught at compile time with static compilation enabled
> --------------------------------------------------------------------------------------------------------
>
>                 Key: GROOVY-10341
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10341
>             Project: Groovy
>          Issue Type: Improvement
>          Components: Compiler
>    Affects Versions: 2.5.4
>            Reporter: Abbas Gadhia
>            Assignee: Eric Milles
>            Priority: Major
>             Fix For: 4.0.0-rc-1
>
>         Attachments: bugs.tar.gz
>
>
> When super.baseMethod() is invoked from a derived class, and if the baseMethod is abstract, the compiler does not complain and we get a 
> {code:java}
> Exception in thread "main" java.lang.AbstractMethodError
> {code}
> despite CompileStatic
> Code attached



--
This message was sent by Atlassian Jira
(v8.20.1#820001)