The GitHub Actions job "Licensing - RAT Report" on 
grails-core.git/grails8-groovy5-sb4 has failed.
Run started by GitHub user jamesfredley (triggered by jamesfredley).

Head commit for run:
708e03c98972b8b89a1ea345fe5870c77befb155 / James Fredley 
<[email protected]>
fix: bump Groovy to 5.0.5 with GROOVY-11907 workaround

Groovy 5.0.4+ bundles ASM 9.9.1 which rejects the invalid bytecode
generated by TraitReceiverTransformer for @CompileStatic traits with
static fields when method-level DYNAMIC_RESOLUTION is present
(GROOVY-11907, a regression from GROOVY-11817).

The only affected trait in grails-geb testFixtures is ContainerSupport
(static fields: container, downloadSupport). Switch it from
@CompileStatic to @CompileDynamic so its helper class compiles via
the dynamic code path, which generates valid bytecode. ContainerGebSpec
retains @CompileStatic - its delegate stubs are simple forwarding calls
unaffected by the bug.

This unblocks the Groovy 5.0.3 -> 5.0.5 upgrade. Revert to
@CompileStatic once the Groovy fix (apache/groovy#2443) ships.

Assisted-by: Claude Code <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to