Commit 9dbba77
Fix CI compatibility issues: Revert to Java 17 and apply code formatting
- Update GitHub Actions workflows to use Java 17 instead of Java 21
- Change build.yml workflow name to indicate Java 21 upgrade is blocked
- Apply Spotless formatting fixes to DefaultJwtServiceTest.java
- Resolves 'Unsupported class file major version 65' error in CI
COMPATIBILITY ANALYSIS:
- Java 21 upgrade blocked by impossible compatibility triangle:
* Spring Boot 2.6.3 only supports Gradle 7.x
* Gradle 7.6.4 cannot run on Java 21 (major version 65 unsupported)
* Gradle 8.4+ required for Java 21 support
- Maximum achievable upgrade: Java 17 with current Spring Boot version
- Full Java 21 upgrade requires Spring Boot 3.2+ (major breaking change)
Ticket: AT-61
Co-Authored-By: Shawn Azman <shawn.d.azman@gmail.com>1 parent fee0bb8 commit 9dbba77
3 files changed
Lines changed: 7 additions & 6 deletions
File tree
- .github/workflows
- src/test/java/io/spring/infrastructure/service
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
0 commit comments