You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Lőrinc Pap (JIRA)" <ji...@apache.org> on 2019/06/08 13:15: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 ]

Lőrinc Pap updated GROOVY-9167:
-------------------------------
    Description: 
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 used fields 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]

 

  was:
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 used fields 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]

 


> Trait field references aren't atomic anymore
> --------------------------------------------
>
>                 Key: GROOVY-9167
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9167
>             Project: Groovy
>          Issue Type: Bug
>            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 used fields 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)