Migrate from Java 17 to Java 22 (Phases 1-5) #84
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR migrates the Spring Boot BankApp from Java 17 to Java 22, covering phases 1-5 of the migration plan (stopping before production deployment).
Changes made:
pom.xml: Java version 17→22, Spring Boot 3.3.3→3.4.0, Maven Compiler Plugin 3.8.0→3.13.0, source/target 1.8→22Dockerfile: Build stage tomaven:3.9.9-eclipse-temurin-22, runtime stage toeclipse-temurin:22-jre-alpineREADME.mdandREADME-K8S.md: Jenkins installation instructions to useopenjdk-22-jreValidation performed:
Review & Testing Checklist for Human
openjdk-22-jrepackage availability - The README instructions reference this package for apt install, but it may not be available in standard Ubuntu repositories since Java 22 is non-LTS. Consider updating to use Eclipse Temurin PPA or alternative installation method.Recommended test plan: Deploy to a staging environment with MySQL and verify the application functions correctly end-to-end.
Notes
Link to Devin run: https://app.devin.ai/sessions/b34edeacd0194657a8e4f2bc822f33aa
Requested by: Satwik Bebortha (@satwik-cog)