You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2021/10/17 15:48:00 UTC
[jira] [Updated] (GROOVY-9167) Trait field references aren't atomic
anymore
[ https://issues.apache.org/jira/browse/GROOVY-9167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Milles updated GROOVY-9167:
--------------------------------
Labels: trait traits (was: )
> Trait field references aren't atomic anymore
> --------------------------------------------
>
> Key: GROOVY-9167
> URL: https://issues.apache.org/jira/browse/GROOVY-9167
> Project: Groovy
> Issue Type: Bug
> Affects Versions: 2.5.7
> Reporter: Lőrinc Pap
> Priority: Major
> Labels: trait, traits
>
> While upgrading Gradle from {{2.5.4}} to {{2.5.7}} the following scenario started failing:
> [https://github.com/gradle/gradle/blob/51b80f5b3a24af9c10066be0171bff04c63f3823/subprojects/execution/src/test/groovy/org/gradle/internal/execution/steps/FingerprinterFixture.groovy#L39]
>
> i.e. previously the referenced fields in Traits were already initialized, after upgrade they were all {{null}} (and initialized later).
> The workaround we've applied was the following: [https://github.com/gradle/gradle/pull/9627/files#r291806047]
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)