Skip to content

Upgrade java and spring boot version#196

Open
garaimanoj wants to merge 2 commits intostfc:masterfrom
garaimanoj:java-25-spring-boot-3.5.11-version-upgrade
Open

Upgrade java and spring boot version#196
garaimanoj wants to merge 2 commits intostfc:masterfrom
garaimanoj:java-25-spring-boot-3.5.11-version-upgrade

Conversation

@garaimanoj
Copy link
Contributor

This update modernizes the application by upgrading the Spring Boot parent to 3.5.11 and aligning the project with Java 25.

Key changes:

  • Updated spring-boot-starter-parent to 3.5.11, which is compatible with Java 17–25 per Spring Boot’s official compatibility matrix.
  • Updated java.version property to 25, enabling compilation and runtime compatibility with the latest Java LTS release.
  • Removed several explicit dependency versions that are now managed automatically by the Spring Boot 3.5.x BOM (expected behaviour when upgrading the parent).

Why this change:

  • Ensures long-term support and alignment with the latest Spring ecosystem.
  • Allows use of new JVM features introduced in Java 25.
  • Reduces version conflicts by relying on Spring Boot dependency management.

No functional changes were introduced—this PR focuses solely on platform and build modernization.

@DonaldChung-HK
Copy link

Looks good, Thanks for checking for incompatibility. May I know do we need the following JAVA OPT, when running the CA Portal, please? I think this is updated around Jan 2026 so this caught us off guard when rebuilding CA Portal.

--add-opens java.base/sun.security.x509=ALL-UNNAMED --add-exports java.base/sun.security.x509=ALL-UNNAMED

Thanks

@garaimanoj
Copy link
Contributor Author

Looks good, Thanks for checking for incompatibility. May I know do we need the following JAVA OPT, when running the CA Portal, please? I think this is updated around Jan 2026 so this caught us off guard when rebuilding CA Portal.

--add-opens java.base/sun.security.x509=ALL-UNNAMED --add-exports java.base/sun.security.x509=ALL-UNNAMED

Thanks

No, we do not need --add-opens or --add-exports for Java 25 with Spring Boot 3.5.x. I am able to build and run the application without those. Thanks for the review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants