Commit 0b0f99c
committed
fix: resolve JDK 25 class-file compatibility in spring-reactive tests
Spring Framework 6.1.6 (Boot 3.2.5) bundles an ASM version that
cannot parse JDK 25 class files (major version 69), causing
spring-reactive's @SpringBootTest integration tests to fail with
ClassFormatException during classpath component scanning.
- Bump spring-boot.version to 3.5.16 (Spring Framework 6.2.x,
ASM 9.8+, real JDK 25 classfile support) and spring-cloud.version
to the matching 2025.0.3 release train.
- Drop the hardcoded slf4j-api/logback-classic version overrides so
they're managed by the Spring Boot BOM again; the old pins were
incompatible with the newer Boot version and caused
NoSuchMethodError: LoggerContext.initCollisionMaps().
- Migrate spring-batch's SpringBatchConfig off JobBuilderFactory/
StepBuilderFactory (removed in the Spring Batch version bundled
with Boot 3.5.x) to the JobRepository/JobBuilder/StepBuilder API.
Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>1 parent 28c5bf3 commit 0b0f99c
2 files changed
Lines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
105 | | - | |
106 | 104 | | |
107 | 105 | | |
108 | 106 | | |
| |||
Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
9 | 8 | | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
33 | | - | |
34 | | - | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
38 | | - | |
39 | | - | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | | - | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
0 commit comments