Upgrade to Java 8 and Spring Boot 3.5.1 - Appmod/java upgrade 20250929193125#4
Draft
yortch wants to merge 12 commits into
Draft
Upgrade to Java 8 and Spring Boot 3.5.1 - Appmod/java upgrade 20250929193125#4yortch wants to merge 12 commits into
yortch wants to merge 12 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Upgrade Java Project
🖥️ Project Information
🎯 Goals
🔀 Changes
Test Changes
Dependency Changes
Upgraded Dependencies
Added Dependencies
Removed Dependencies
Code commits
All code changes have been committed to branch
appmod/java-upgrade-20250929193125, here are the details:25 files changed, 112 insertions(+), 132 deletions(-)
5b2704c -- Upgrade project to Spring Boot 3.3.x, Java 21 using openrewrite.
50b5f3d -- Upgrade to Spring Boot 3.3.6 and Java 21 for Milestone 1
517c790 -- Fix missing dependency versions for jakarta.cache and ehcache
ebf77da -- Replace cache setup with Spring Boot 3.x compatible Caffeine cache
18fc448 -- Simplify cache configuration to work with Spring Boot 3.x and Caffeine
8992b87 -- Add explicit Jakarta persistence and validation API dependencies
1c6e078 -- Fix corrupted parent POM XML structure with Spring Boot 3.3.6
f44eb3c -- Fix Spring Boot Maven plugin build-info configuration for Java 21
9e27778 -- Upgrade Spring Boot to 3.5.1
1ca2dc5 -- Fix CVE-2023-22102 by upgrading MySQL Connector/J to 9.2.0
57b4d17 -- Fix content type assertion in PetResourceTests for Spring Boot 3.5 compatibility
Potential Issues
Behavior Changes
JCacheManagerCustomizerbean and all EhCache-specific configurations means the 'vets' cache no longer has explicit size limits (100 entries) or TTL (60 seconds). The application now relies on default Caffeine cache behavior which may have different eviction policies and memory management.get(0)togetFirst()method. Both methods should return the first element, butgetFirst()will throwNoSuchElementExceptionif the list is empty whileget(0)would throwIndexOutOfBoundsException. This could potentially change exception handling behavior in edge cases.