[
https://issues.apache.org/jira/browse/GROOVY-11753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Milles resolved GROOVY-11753.
----------------------------------
Fix Version/s: 5.0.2
Resolution: Fixed
> Compilation error: Can't have an abstract method in a non-abstract class
> ------------------------------------------------------------------------
>
> Key: GROOVY-11753
> URL: https://issues.apache.org/jira/browse/GROOVY-11753
> Project: Groovy
> Issue Type: Bug
> Affects Versions: 5.0.0, 5.0.1
> Reporter: Mattias Reichel
> Assignee: Eric Milles
> Priority: Major
> Fix For: 5.0.2
>
>
> I'm having a hard time reproducing this outside the Grails codebase.
> To reproduce:
> {noformat}
> git clone https://github.com/matrei/grails-core.git
> cd grails-core
> git checkout groovy-5 # or 9538ca0c458e08f175e57618d0cefc24b59467f4
> ./gradlew grails-core:compileGroovy{noformat}
>
>
> {noformat}
> /home/mattias/Projects/grails-core/grails-core/src/main/groovy/grails/boot/config/tools/ProfilingGrailsApplicationPostProcessor.groovy:
> 35: Can't have an abstract method in a non-abstract class. The class
> 'grails.boot.config.tools.ProfilingGrailsApplicationPostProcessor' must be
> declared abstract or the method 'void onApplicationEvent(E)' must be
> implemented.
> @ line 35, column 1.
> class ProfilingGrailsApplicationPostProcessor extends
> GrailsApplicationPostProcessor implements BeanPostProcessor {
> ^
> 1 error
> {noformat}
> Build scan: [https://ge.grails.org/s/3xq27upwbybta]
> or
> {noformat}
> ./gradlew grails-shell-cli:compileGroovy{noformat}
>
> {noformat}
> /home/mattias/Projects/grails-core/grails-shell-cli/src/main/groovy/org/grails/cli/profile/commands/CreatePluginCommand.groovy:
> 34: Can't have an abstract method in a non-abstract class. The class
> 'org.grails.cli.profile.commands.CreatePluginCommand' must be declared
> abstract or the method 'void
> setProfileRepository(org.grails.cli.profile.ProfileRepository)' must be
> implemented.
> @ line 34, column 1.
> @CompileStatic
> ^
> 2 errors
> {noformat}
> Build scan: https://ge.grails.org/s/fgzr4cyi6ji7k
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)