Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-10467

Compilation fails with method detected as transient

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0-beta-2, 4.0.0-rc-1, 4.0.0-rc-2, 4.0.0
    • 4.0.1
    • Compiler
    • None

    Description

      Reproduction steps

      It fails with:

      :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
      

      Build scan: https://ge.gradle.org/s/phu26h5udswba/console-log?task=:ivy:compileTestFixturesGroovy

      Attachments

        Issue Links

          Activity

            People

              emilles Eric Milles
              lptr Lóránt Pintér
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m