groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abbas Gadhia (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GROOVY-8188) Unpredictable behavior - Compiler error: groovyc: You are not allowed to override the final method
Date Fri, 12 May 2017 12:36:04 GMT
Abbas Gadhia created GROOVY-8188:
------------------------------------

             Summary: Unpredictable behavior - Compiler error: groovyc: You are not allowed
to override the final method
                 Key: GROOVY-8188
                 URL: https://issues.apache.org/jira/browse/GROOVY-8188
             Project: Groovy
          Issue Type: Bug
          Components: Compiler
    Affects Versions: 2.4.11
         Environment: Windows
            Reporter: Abbas Gadhia
         Attachments: groovyc.7z

I'm trying to extend from an abstract class and override one of its abstract methods. Another
"final" concrete method of the same name exists in the abstract class.

When I compile, it complains that i cannot override the method marked as final, however i've
only overriden the abstract method, and not the "final" one.

This issue is sporadic. The error pops up and goes after several retries

I've attached a simple project that reproduces this issue. The error may or may not happen
the first time. Tweaking the code here and there, gets the issue to pop up



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message