groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul King (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GROOVY-8695) @Delegate does not compile deterministically
Date Thu, 26 Jul 2018 03:37:00 GMT

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

Paul King commented on GROOVY-8695:
-----------------------------------

FYI, from what I can see (with albeit the simplist test as per below) Groovy 2.5.1 doesn't
seem to have this problem.
{noformat}
Index: subprojects/core/core.gradle
===================================================================
--- subprojects/core/core.gradle	(revision 8b60d662976cee3a0996df20f30a5131c4fc8c2a)
+++ subprojects/core/core.gradle	(date 1532575724000)
@@ -44,7 +44,11 @@
api project(":processServices")
api project(":jvmServices")
api project(":modelCore")
- api libraries.groovy.coordinates
+// api libraries.groovy.coordinates
+ api('org.codehaus.groovy:groovy:2.5.1') {
+ exclude module: 'ivy'
+ exclude module: 'jansi'
+ }
api libraries.ant.coordinates
api libraries.guava.coordinates
api libraries.inject.coordinates{noformat}

> @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