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/10/20 02:15:00 UTC

[jira] [Resolved] (GROOVY-12437) Groovy 5 Incremental Compilation Issue

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

Paul King resolved GROOVY-12437.
--------------------------------
    Fix Version/s: 7.0.0-alpha-1
                   5.1.4
                   6.0.1
       Resolution: Fixed

> Groovy 5 Incremental Compilation Issue
> --------------------------------------
>
>                 Key: GROOVY-12437
>                 URL: https://issues.apache.org/jira/browse/GROOVY-12437
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 5.0.0
>            Reporter: James Daugherty
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 7.0.0-alpha-1, 5.1.4, 6.0.1
>
>
> A statically compiled subclass fails to compile against a precompiled generic superclass when a ternary expression selects between two inherited generic map properties. Compiling the same sources together succeeds.
> This was discovered during incremental compilation in a Grails application, but {*}the reproducer uses only the standalone Groovy compiler{*}. Gradle, Grails, application dependencies, compiler configuration scripts, and build caches are not involved.
>  
> Reproducer is here: [https://github.com/jdaugherty/groovy5-incrementa-compilation-issue] 



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