You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2026/09/03 06:04:00 UTC

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

     [ https://issues.apache.org/jira/browse/GROOVY-12256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King resolved GROOVY-12256.
--------------------------------
    Fix Version/s: 6.0.0-beta-4
       Resolution: Fixed

> 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
>            Priority: Minor
>             Fix For: 6.0.0-beta-4
>
>
> 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)