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 2022/07/23 16:24:00 UTC
[jira] [Updated] (GROOVY-10467) Compilation fails with method detected as transient
[ https://issues.apache.org/jira/browse/GROOVY-10467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Milles updated GROOVY-10467:
---------------------------------
Fix Version/s: (was: 5.0.0-alpha-1)
> Compilation fails with method detected as transient
> ---------------------------------------------------
>
> Key: GROOVY-10467
> URL: https://issues.apache.org/jira/browse/GROOVY-10467
> Project: Groovy
> Issue Type: Bug
> Components: Compiler
> Affects Versions: 4.0.0-beta-2, 4.0.0-rc-1, 4.0.0-rc-2, 4.0.0
> Reporter: Lóránt Pintér
> Assignee: Eric Milles
> Priority: Major
> Fix For: 4.0.1
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> *Reproduction steps*
> * Check out [https://github.com/gradle/gradle/tree/lptr/groovy-4-bugs]
> * Run {{./gradlew :ivy:compileAll}}, it works using 4.0.0-beta-1!
> * Change the Groovy version here to `4.0.0-beta-2`: [https://github.com/gradle/gradle/blob/860e74522dcbf2df635a27f38fef1daa0b093322/build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt#L23]
> * Run {{./gradlew :ivy:compileAll}}
> It fails with:
> {code:java}
> :ivy:compileTestFixturesGroovy FAILED
> Groovy compilation avoidance is an incubating feature.
> Executing Spock 2.0.0-groovy-3.0 with NOT compatible Groovy version 4.0.0-beta-2 due to set spock.iKnowWhatImDoing.disableGroovyVersionCheck system property. This is unsupported and may result in weird runtime errors!
> startup failed:
> /Users/lptr/Workspace/gradle/gradle-groovy-4/subprojects/ivy/src/testFixtures/groovy/org/gradle/api/publish/ivy/AbstractIvyPublishIntegTest.groovy: -1: The method 'void expectFiles(java.lang.String[])' has an incorrect modifier transient.
> @ line -1, column -1.
> 1 error
> {code}
> Build scan: [https://ge.gradle.org/s/phu26h5udswba/console-log?task=:ivy:compileTestFixturesGroovy]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)