[jira] [Updated] (GROOVY-9167) Trait field references aren't atomic anymore

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (GROOVY-9167) Trait field references aren't atomic anymore

JIRA jira@apache.org

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

Lőrinc Pap updated GROOVY-9167:
-------------------------------
    Affects Version/s: 2.5.7

> 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
>
> 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
(v7.6.3#76005)