The GitHub Actions job "Groovy Snapshot Canary Build" on 
grails-core.git/deps/groovy-6.0.0 has failed.
Run started by GitHub user matrei (triggered by matrei).

Head commit for run:
35f76f00fe761e9236fbd0ea34e0632c3552838e / Mattias Reichel 
<[email protected]>
Upgrade Groovy to 6.0.0

Groovy 6 ships the classic (non-invokedynamic) call-site runtime as the
separate groovy-callsite module, and its compiler refuses to generate that
bytecode without it on the compile classpath. Grails 8 compiles with indy
off, so grails-common exports the module and the root build adds it to
every source set of the modules below grails-common.

Spock has no groovy-6.0 build, and 2.4-groovy-5.0 checks the Groovy major
both in its compiler AST transform and when a Spec starts. The opt-out
system property is set on the forked Groovy compiler and Test tasks by
CompilePlugin, on groovydoc runs, in the end-to-end build, and for
applications by the Grails Gradle plugin on GroovyCompile, Test and the
forked view compiler. A build that sets its own value keeps it.

Groovy 6 moves groovysh to JLine 4, so jline.version follows and the
SBOM plugin corrects the JLine 4 licence metadata by pattern.

Source changes for Groovy 6.0.0: parameterized types and type variables
are no longer class literals; `!x instanceof T` is rejected (it was always
false); a statically compiled map-style constructor call needs an
explicit @MapConstructor; @Delegate generates over declared overrides
(config write filtering, dirty-checking reversed views) and no longer
satisfies the abstract-method check for the JSON view helper's render
overloads; the stub generator writes a precompiled trait's static
methods as `static abstract`; and generic trait methods are specialized
on the implementing class. Each workaround is commented with its
trigger, failure, deletion condition and impact class as catalogued in
issue #16157 on the 9.0.x line.

The upgrade guide gains a Groovy 6 section covering the call-site module,
the Spock opt-out, JLine 4 and the application-source changes.

Report URL: https://github.com/apache/grails-core/actions/runs/35919352281

With regards,
GitHub Actions via GitBox

Reply via email to