The GitHub Actions job "CI - Groovy Joint Validation Build" on 
grails-core.git/grails8-groovy6-canary has failed.
Run started by GitHub user jamesfredley (triggered by jamesfredley).

Head commit for run:
b2bd21343ac529b4103912f306450d105cba11c5 / James Fredley 
<[email protected]>
fix: resolve all remaining test failures on Groovy 6

DataBindingTests: replace old-style Author.metaClass.static.get mock
with Spock GroovySpy. Groovy 6 changed MetaClass dispatch precedence
for trait-provided static methods, so dynamically-added MetaClass
closures no longer intercept calls to compiled trait methods.

grails-views-gson StreamingJsonBuilder ClassCastException: the Groovy
parent's call(Closure) creates groovy.json.StreamingJsonDelegate via
private cloneDelegateAndGetContent, but compiled .gson templates cast
the delegate to grails.plugin.json.builder.StreamingJsonDelegate.
Fix: override call(Closure) in the Grails StreamingJsonBuilder to use
the Grails delegate subclass, and fix JsonViewWritableScript.json() to
create Grails delegates directly instead of the Groovy parent type.

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

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

With regards,
GitHub Actions via GitBox

Reply via email to