Skip to content

jdk 25 and spring boot 4.1 - #697

Merged
henrik242 merged 2 commits into
masterfrom
jdk25-and-sb41
Aug 5, 2026
Merged

jdk 25 and spring boot 4.1#697
henrik242 merged 2 commits into
masterfrom
jdk25-and-sb41

Conversation

@henrik242

Copy link
Copy Markdown
Contributor

spring-cloud-gcp 8.1.0 is the same code as 7.4.10 rebuilt against Spring Boot 4; 7.4.10 compiles against spring-boot-autoconfigure 3.5.3. The chart gains the JDK 25 native-access and Unsafe flags, guarded by IgnoreUnrecognizedVMOptions so the chart still boots if it ever meets a pre-JDK-24 image. New docker-smoke job starts the built image and gates docker-push, since nothing else in CI runs it.

spring-cloud-gcp 8.1.0 is the same code as 7.4.10 rebuilt against Spring Boot 4;
7.4.10 compiles against spring-boot-autoconfigure 3.5.3. The chart gains the JDK 25
native-access and Unsafe flags, guarded by IgnoreUnrecognizedVMOptions so the chart
still boots if it ever meets a pre-JDK-24 image. New docker-smoke job starts the
built image and gates docker-push, since nothing else in CI runs it.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Baba’s build/runtime stack to Java 25 and aligns dependencies/CI with Spring Boot 4.1-era components, including a new CI smoke test that actually runs the built Docker image before allowing pushes.

Changes:

  • Bump parent superpom and Spring Cloud GCP BOM to versions compatible with Spring Boot 4.x.
  • Move CI and Docker runtime to Liberica OpenJRE 25.0.4 and add a Docker image smoke test gating docker-push.
  • Update Helm deployment JVM options to include native-access/Unsafe-related flags; update repo developer guidance to Java 25.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
pom.xml Upgrades parent superpom and Spring Cloud GCP BOM version for Spring Boot 4.x compatibility.
helm/baba/templates/deployment.yaml Extends JVM options passed via JDK_JAVA_OPTIONS for newer JDK behavior.
Dockerfile Switches base images from JRE 21 to JRE 25 for build/run stages.
CLAUDE.md Updates documented build JDK from 21 to 25.
.github/workflows/push.yml Updates actions and Java version; adds docker-smoke job and gates docker-push on it.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/push.yml
Comment thread helm/baba/templates/deployment.yaml
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@sonarqubecloud

sonarqubecloud Bot commented Aug 5, 2026

Copy link
Copy Markdown

@henrik242
henrik242 merged commit e48d96f into master Aug 5, 2026
22 checks passed
@henrik242
henrik242 deleted the jdk25-and-sb41 branch August 5, 2026 12:58
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