groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lóránt Pintér (JIRA) <j...@apache.org>
Subject [jira] [Commented] (GROOVY-8695) @Delegate does not compile deterministically
Date Tue, 24 Jul 2018 15:35:00 GMT

    [ https://issues.apache.org/jira/browse/GROOVY-8695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16554402#comment-16554402
] 

Lóránt Pintér commented on GROOVY-8695:
---------------------------------------

I tried to run this with a Gradle 4.10 nightly that uses Groovy 2.4.15:

{code}
./gradlew core:cleanCompileTestFixturesGroovy core:compileTestFixturesGroovy --no-build-cache;
md5 subprojects/core/build/classes/groovy/testFixtures/org/gradle/util/ConcurrentSpecification.class
{code}

It still results in different MD5s being generated:

{code}
MD5 (subprojects/core/build/classes/groovy/testFixtures/org/gradle/util/ConcurrentSpecification.class)
= cebcafb31a5fb7114e3f65ae72c5d12a
MD5 (subprojects/core/build/classes/groovy/testFixtures/org/gradle/util/ConcurrentSpecification.class)
= 6a7fef52e516b317355c6cd0fddf7f94
MD5 (subprojects/core/build/classes/groovy/testFixtures/org/gradle/util/ConcurrentSpecification.class)
= f2600a8b15ff00051a6b4beb827f413b
{code}

That means this issue is not yet resolved.

> @Delegate does not compile deterministically
> --------------------------------------------
>
>                 Key: GROOVY-8695
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8695
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 2.4.12
>            Reporter: Luke Daley
>            Priority: Major
>         Attachments: ConcurrentSpecification-with-groovy-2.4.15.zip, ConcurrentSpecification.class,
ConcurrentSpecification.class
>
>
> Checkout gradle/gradle from Github, run:
> ```
> ./gradlew core:cleanCompileTestFixturesGroovy core:compileTestFixturesGroovy --no-build-cache
&& md5 subprojects/core/build/classes/groovy/testFixtures/org/gradle/util/ConcurrentSpecification.class
> ```
> This class is super thin: [https://github.com/gradle/gradle/blob/a1b9612fa06f90f20b115cede557e22287501034/subprojects/core/src/testFixtures/groovy/org/gradle/util/ConcurrentSpecification.groovy#L23]
>  
> Guess is that it is `@Delegate` or `@Delegate` in conjunction with Spock
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message