Upgrade from Java 17 to Java 21 LTS by devin-ai-integration[bot] · Pull Request #19 · jack-killian/Deere_OperationsCenterAPI-OAuth2-Java · GitHub
Skip to content

Upgrade from Java 17 to Java 21 LTS#19

Closed
devin-ai-integration[bot] wants to merge 1 commit into
masterfrom
devin/1769044397-java21-upgrade
Closed

Upgrade from Java 17 to Java 21 LTS#19
devin-ai-integration[bot] wants to merge 1 commit into
masterfrom
devin/1769044397-java21-upgrade

Conversation

@devin-ai-integration

Copy link
Copy Markdown

Summary

Upgrades the application from Java 17 to Java 21 LTS by updating:

  • pom.xml: maven-compiler-plugin source/target from 17 to 21
  • .java-version: from 17 to 21
  • .github/workflows/maven.yml: JDK version from 17.0.5+8 to 21 (Zulu distribution)

Build verified locally with Java 21.0.9 - compiles and packages successfully.

Review & Testing Checklist for Human

  • Run the application locally with Java 21 (java -jar target/oauth2-example-1.0.jar) and verify it starts on port 9090
  • Test the OAuth flow end-to-end with valid John Deere credentials to verify runtime compatibility
  • Check application logs for any new warnings related to reflection or module access

Recommended Test Plan

  1. Build with mvn clean package using Java 21
  2. Start the app and navigate to http://localhost:9090
  3. Complete an OAuth flow with valid credentials from developer.deere.com
  4. Verify token refresh and API calls work correctly

Notes

All dependencies were verified compatible with Java 21:

  • Javalin 6.3.0, SLF4J 2.0.13, Guava 33.2.1-jre, Unirest 4.4.0, Mustache 0.9.14, maven-shade-plugin 3.6.0

Link to Devin run: https://app.devin.ai/sessions/db6e374a19d545c9909619244f7e7df2
Requested by: Jack (@jack-killian)

- Update maven-compiler-plugin source/target from 17 to 21 in pom.xml
- Update .java-version file from 17 to 21
- Update GitHub Actions workflow to use JDK 21 (Zulu distribution)

All dependencies verified compatible with Java 21:
- Javalin 6.3.0
- SLF4J 2.0.13
- Guava 33.2.1-jre
- Unirest 4.4.0
- Mustache compiler 0.9.14
- maven-shade-plugin 3.6.0

Build tested locally with Java 21.0.9 - compiles and packages successfully.

Co-Authored-By: Jack <jack.l.killian@gmail.com>
@devin-ai-integration

Copy link
Copy Markdown
Author

@devin-ai-integration

Copy link
Copy Markdown
Author

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.

0 participants