Skip to content

jdk 25 and spring boot 4.1 - #637

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

jdk 25 and spring boot 4.1#637
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; it disables the Cloud SQL autoconfiguration, which otherwise fails in prepareEnvironment before the app logs anything.

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; it disables the Cloud SQL autoconfiguration,
which otherwise fails in prepareEnvironment before the app logs anything.

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 Nabu’s build, runtime image, and CI pipeline to run on JDK 25 and align dependencies with Spring Boot 4.1 (including Spring Cloud GCP rebuilt for Boot 4), plus adds a Docker image smoke test gate before pushing images.

Changes:

  • Bump parent/superpom and Spring Cloud GCP dependency management to the Spring Boot 4 line.
  • Upgrade Docker base images to Liberica OpenJRE 25 and adjust Helm JVM options for JDK 25 native/Unsafe access flags.
  • Add a docker-smoke GitHub Actions job to build/run the image and gate docker-push.

Reviewed changes

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

Show a summary per file
File Description
pom.xml Updates parent and Spring Cloud GCP BOM version; adjusts dependency management notes.
helm/nabu/values.yaml Adds JDK 25 JVM flags (native-access / Unsafe) to JDK_JAVA_OPTIONS.
Dockerfile Moves builder/runtime base images to Liberica OpenJRE Alpine 25.0.4.
CLAUDE.md Updates documented Java version (but needs Boot/CI job list alignment).
.github/workflows/push.yml Uses Java 25 in CI and adds docker-smoke gating for docker-push.

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

Comment thread pom.xml
Comment thread CLAUDE.md Outdated
Comment thread CLAUDE.md
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 fb91256 into master Aug 5, 2026
23 checks passed
@henrik242
henrik242 deleted the jdk25-and-sb41 branch August 5, 2026 12:59
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