[ https://issues.apache.org/jira/browse/GROOVY-11579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King closed GROOVY-11579. ------------------------------ > Reproduction of GROOVY-11548 with Generic Parameters > ---------------------------------------------------- > > Key: GROOVY-11579 > URL: https://issues.apache.org/jira/browse/GROOVY-11579 > Project: Groovy > Issue Type: Bug > Components: Compiler > Affects Versions: 4.0.26 > Reporter: Xiaotian Ma > Assignee: Eric Milles > Priority: Major > Fix For: 5.0.0-beta-1, 3.0.25, 4.0.27 > > > {code:java} > interface I<T0> { > abstract T0 func() > } > abstract class A { > final String func() { > return "A" > } > } > class B extends A implements I<String> {} > {code} > Reproduction of > [GROOVY-11548|https://issues.apache.org/jira/browse/GROOVY-11548] with > Generic Parameters. > Groovy 4.0.26: > {code:java} > A.groovy: -1: You are not allowed to override the final method func() from > class 'A'. > @ line -1, column -1. > 1 error{code} -- This message was sent by Atlassian Jira (v8.20.10#820010)