Skip to content

Conversation

@devin-ai-integration
Copy link

Update Java version from 1.8 to 11

Summary

This PR implements the first step of migrating the Spring Boot banking application from Java 8 to Java 11 by updating the Maven configuration:

  • Updated java.version property from 1.8 to 11 in pom.xml
  • Added explicit maven-compiler-plugin configuration with source and target set to Java 11

Local Testing Results:

  • ✅ Baseline verification with Java 8: compilation and tests passed
  • ✅ Compilation with Java 11: successful (mvn clean compile)
  • ✅ Unit tests with Java 11: passed (1 test, 0 failures)

Review & Testing Checklist for Human

  • Verify CI checks pass - This will confirm the CI environment supports Java 11
  • Test application startup locally with Java 11 - Run mvn spring-boot:run and verify:
    • Application starts successfully on port 8989
    • Swagger UI is accessible at http://localhost:8989/bank-api/swagger-ui.html
    • H2 console is accessible at http://localhost:8989/bank-api/h2-console/
    • Basic API endpoints work (create customer, create account, etc.)
  • Confirm deployment environments support Java 11 - Check that staging/production have JDK 11 available
  • Consider extended testing - The codebase has limited test coverage (1 unit test), so manual functional testing is important to ensure no Java 11 compatibility issues

Notes

  • Spring Boot 2.1.4 officially supports Java 11, so no framework upgrade is needed at this stage
  • All dependencies (including Springfox Swagger 2.9.2/2.10.0 and Lombok) compiled successfully with Java 11
  • This is the first step in the Java 11 migration plan for the banking application

Session Information:

- Updated java.version property from 1.8 to 11
- Added maven-compiler-plugin configuration with source and target set to 11
- Ensures explicit Java 11 compilation settings

This is the first step in migrating the Spring Boot banking application from Java 8 to Java 11.

Co-Authored-By: Jaime Mizrachi <[email protected]>
@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

@devin-ai-integration devin-ai-integration bot changed the base branch from dependabot/maven/io.springfox-springfox-swagger-ui-2.10.0 to master October 14, 2025 15:09
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