Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.0.0-beta-1
-
None
Description
Steps to reproduce:
- check out https://github.com/gradle/gradle/releases/tag/groovy-4-compile-problem
- run ./gradlew :internal-integ-test:compileGroovy --no-configuration-cache
Output:
/Users/lptr/Workspace/gradle/gradle/subprojects/internal-integ-testing/build/tmp/compileGroovy/groovy-java-stubs/org/gradle/test/fixtures/server/sftp/SFTPServer.java:164: error: $getLookup() in SFTPServer.SftpExpectOneOpen cannot override $getLookup() in SftpExpectOnePath public java.lang.invoke.MethodHandles.Lookup $getLookup() { return (java.lang.invoke.MethodHandles.Lookup)null;} ^ overridden method is static /Users/lptr/Workspace/gradle/gradle/subprojects/internal-integ-testing/build/tmp/compileGroovy/groovy-java-stubs/org/gradle/test/fixtures/server/sftp/SFTPServer.java:178: error: $getLookup() in SFTPServer.SftpExpectOneHandle cannot override $getLookup() in SftpExpectOnePath public java.lang.invoke.MethodHandles.Lookup $getLookup() { return (java.lang.invoke.MethodHandles.Lookup)null;} ^ overridden method is static
See the attached SFTPServer.java for the generated stubs.
Attachments
Attachments
Issue Links
- relates to
-
GROOVY-10709 Performance regression in Gradle with Groovy 4
- Closed
-
GROOVY-10931 Remove $getLookup method generation (Groovy 4+)
- Closed