Commit b267d68
committed
fix(ci): bump verifyWrapper JDK to 21 on 8.0.x
The verifyWrapper job pinned actions/setup-java to JDK 17, which works on 7.0.x and 7.1.x where javaVersion=17. When that workflow merged into 8.0.x (javaVersion=21), grails-wrapper's Java sources started being compiled with --release=21 (class file version 65), so the JDK 17 runtime in the verify step failed with: UnsupportedClassVersionError: grails/init/Start has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0.
Bump the verify step to JDK 21 to match the branch's javaVersion. Add an inline comment explaining the dependency so future bumps to javaVersion know to update this together.
Assisted-by: claude-code:claude-opus-41 parent ede2da4 commit b267d68
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
509 | | - | |
| 509 | + | |
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
| |||
0 commit comments