Skip to content

Conversation

@devin-ai-integration
Copy link

@devin-ai-integration devin-ai-integration bot commented Oct 21, 2025

Upgrade from Java 11 to Java 17

Summary

This PR upgrades the Spring Boot RealWorld application from Java 11 to Java 17. The changes update the Java version across the build configuration, CI pipeline, and documentation:

  • build.gradle: Updated sourceCompatibility and targetCompatibility from '11' to '17'
  • .github/workflows/gradle.yml: Updated JDK setup from version 11 to 17, and upgraded actions/cache from v2 to v3 (required to fix deprecation warning)
  • README.md: Updated the "Getting started" section to reflect Java 17 requirement

All 68 tests pass successfully both locally and in CI with Java 17. Spring Boot 2.6.3 (used in this project) has official support for Java 17, and all current dependencies are compatible.

Review & Testing Checklist for Human

  • Run the application locally with Java 17 and verify it starts without errors: ./gradlew bootRun
  • Test core functionality by hitting a few key endpoints (e.g., curl http://localhost:8080/tags) to ensure no runtime issues

Notes

- Update build.gradle sourceCompatibility and targetCompatibility to Java 17
- Update GitHub Actions workflow to use JDK 17
- Update README.md to reflect Java 17 requirement
- All tests pass successfully with Java 17
@devin-ai-integration
Copy link
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

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.

1 participant