Repository navigation
Commit c81519c
Upgrade Spoon from 10.4.2 to 11.5.0 (#363)
Follow-up to #352 (stacked on it; GitHub will retarget to `main` once
#352 merges).
## Problem
Spoon 10.4.2 bundles JDT 3.33, which only accepts compliance levels up
to 19 (`20` throws `Unrecognized option : -20`), so #352 has to cap the
level read from the project's pom at 19.
## Change
- `version.spoon`: 10.4.2 → **11.5.0** (JDT 3.46). It needs a Java 17+
runtime (class files are Java 17), which is fine since the verifier
already targets 20.
- `ComplianceLevel.MAX_SUPPORTED` (and so the default when no pom
declares a version): 19 → **26**, the highest level JDT 3.46 accepts
(`27` throws).
No source changes were needed for the Spoon API.
## Downstream
`vscode-liquidjava/server/pom.xml` declares `spoon-core` directly with
`version.spoon` = 10.4.2. That direct dependency overrides the
verifier's transitive one, so the server should be bumped to 11.5.0
together with the verifier version that includes this change. Otherwise
projects declaring Java 20+ would make the model builder throw there.
## Testing
`mvn test`: 369/369 pass (same as #352).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 9a75214 commit c81519c
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments