Skip to content

Conversation

@klagrida
Copy link
Owner

Update Java version from 17 to 25 to take advantage of the latest Java features and improvements. This change is in preparation for Java 25 release.

Changes:

  • Update pom.xml java.version property to 25
  • Update GitHub Actions workflow JAVA_VERSION to 25

Note: Java 25 is not yet released. Current latest is Java 23. This update prepares the project for when Java 25 becomes available. Spring Boot 4.0.0 provides first-class support for modern Java versions.

🤖 Generated with Claude Code

klagrida and others added 6 commits November 27, 2025 22:38
Update Java version from 17 to 25 to take advantage of the latest Java features and improvements. This change is in preparation for Java 25 release.

Changes:
- Update pom.xml java.version property to 25
- Update GitHub Actions workflow JAVA_VERSION to 25

Note: Java 25 is not yet released. Current latest is Java 23.
This update prepares the project for when Java 25 becomes available.
Spring Boot 4.0.0 provides first-class support for modern Java versions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Revert useSpringBoot3 flag back to true. Despite the name, this flag is needed for Spring Boot 4 because it generates code using Jakarta EE packages (jakarta.*) instead of the deprecated Java EE packages (javax.*).

Spring Boot 3+ migrated from javax.* to jakarta.* packages, and Spring Boot 4 continues using jakarta.* packages. Setting useSpringBoot3 to false incorrectly generates code with javax.* imports which don't exist in modern Java.

Fixes compilation errors with:
- javax.validation -> jakarta.validation
- javax.annotation -> jakarta.annotation
- javax.servlet -> jakarta.servlet

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Updated Java version from 25 to 23 in both pom.xml and GitHub Actions workflow to allow CI builds to pass. Java 25 is not yet available in GitHub Actions setup-java action.

Will update to Java 25 once it becomes available.
Spring Framework 7.0.1 (used by Spring Boot 4.0.0) requires org.jspecify:jspecify:1.0.0. Adding it explicitly to resolve Maven dependency resolution issues in CI environment.

All tests passing with Spring Boot 4.0.0 and Java 23.
@klagrida klagrida merged commit 6cb69d8 into main Nov 27, 2025
10 checks passed
@klagrida klagrida deleted the feat/update-java-v25 branch November 28, 2025 09:40
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