The GitHub Actions job "CI - Groovy Joint Validation Build" on 
grails-core.git/8.0.x-hibernate7 has failed.
Run started by GitHub user borinquenkid (triggered by borinquenkid).

Head commit for run:
7c2c4427bd0517e7a6d919055d3c6ef29ced5601 / Walter Duque de Estrada 
<[email protected]>
Restore checker-qual as compileOnly to fix JDK 25 compilation

The JSpecify migration removed the checker-qual dependency entirely, which broke
compilation under JDK 25 (CI was green on JDK 21, red on JDK 25). JDK 25's javac
requires checker-framework annotations such as @UnknownKeyFor — carried in the
bytecode of dependencies like Hibernate's BytecodeProvider — to be resolvable on
the compile classpath; JDK 21's javac tolerates them missing.

Restore checker-qual as compileOnly (not api): it satisfies the compile-time
annotation resolution JDK 25 needs without leaking a runtime dependency to GORM
consumers, which was the original review concern. The JSpecify annotations on 
our
own classes are kept.

Verified under JDK 25 (Corretto 25.0.1): grails-data-hibernate7-core and all
dependent H7 modules (grails-plugin, dbmigration, spring-orm, spring-boot) 
compile.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to