You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Jochen Theodorou (Jira)" <ji...@apache.org> on 2026/08/13 21:22:00 UTC

[jira] [Created] (GROOVY-12256) Add ABI marker annotation

Jochen Theodorou created GROOVY-12256:
-----------------------------------------

             Summary: Add ABI marker annotation
                 Key: GROOVY-12256
                 URL: https://issues.apache.org/jira/browse/GROOVY-12256
             Project: Groovy
          Issue Type: Improvement
            Reporter: Jochen Theodorou
            Assignee: Jochen Theodorou


The idea of @GroovyABI is to mark methods which are called directly from bytecode. We want to mark them to record their usage, which may not be directly visible. A change yould break older Groovy programs, so it should be a decision process to do that, not a mistake. It targets the method the compiler emits as helper methods, not direct method call targets. All classes under org.codehaus.groovy and org.apache.groovy should be marked for that. groovy.* should not because that is intentional user facing and should not change anyway.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)