[ https://issues.apache.org/jira/browse/GROOVY-7415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15233550#comment-15233550 ]
Piotr Majcher commented on GROOVY-7415: --------------------------------------- Hi, I have tried to reproduce this bug. This is what I've done: GroovyEnum - enum with one abstract method JavaEnumService - class that uses GroovyEnum GroovyMain - class with public static void main that call JavaEnumService method. I've used joint compilation to mix all those classes, and it looks that everything works. Code is available on GitHub: https://github.com/pmajcher/GROOVY-7415 Am I missed something? Or bug is already fixed? > Cannot have abstract methods in enum when using joint compilation > ----------------------------------------------------------------- > > Key: GROOVY-7415 > URL: https://issues.apache.org/jira/browse/GROOVY-7415 > Project: Groovy > Issue Type: Bug > Components: Stub generator / Joint compiler > Affects Versions: 2.4.3 > Reporter: Mark Vieira > Labels: contrib > > When using joint compilation, if an Groovy enum has defined an abstract > method, the groovyc generated stub is marked as abstract, which then fails to > compile because the abstract modifier is not allowed on enums. > {code} > error: modifier abstract not allowed here > public abstract enum Foo > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)