Skip to content

Migrate from Java 11 to Java 17 - #1072

Open
devin-ai-integration[bot] wants to merge 2 commits into
masterfrom
devin/1788529300-java17
Open

devin-ai-integration[bot] wants to merge 2 commits into
masterfrom
devin/1788529300-java17

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Sep 4, 2026

Copy link
Copy Markdown

Summary

Targets Java 17: sourceCompatibility/targetCompatibility '11''17' in build.gradle, README requirement updated.

Compatibility audit (no bumps needed): Gradle wrapper 7.4 (17 supported since 7.3), Spring Boot 2.6.3, Lombok 1.18.22 (Boot-managed), DGS codegen 5.0.6.

One Java 17 issue surfaced: Spotless 6.2.1's google-java-format fails on JDK 17 with IllegalAccessError ... module jdk.compiler does not export com.sun.tools.javac.parser (also with googleJavaFormat('1.17.0')). Fixed by adding gradle.properties with org.gradle.jvmargs=--add-exports=jdk.compiler/com.sun.tools.javac.{api,file,parser,tree,util}=ALL-UNNAMED. DefaultJwtServiceTest was reformatted to satisfy spotlessJavaCheck.

Verified: JAVA_HOME=<jdk17> ./gradlew clean build → BUILD SUCCESSFUL, 68 tests, 0 failures.

Note: .github/workflows/gradle.yml no longer exists on master (removed in #411), so there is no CI JDK step to update.

Devin-Org: engineering

Link to Devin session: https://app.devin.ai/sessions/d90064582e4b4f90a726cea0989b432a
Open in Devin Desktop: https://app.devin.ai/desktop/session/d90064582e4b4f90a726cea0989b432a?variant=devin
Requested by: @sophialyssy-demo


Note

Devin errored when opening this Pull Request as sophialyssy-demo.
As a fallback, Devin opened this PR as itself.


Devin Review

devin-ai-integration Bot and others added 2 commits September 4, 2026 13:44
Co-Authored-By: sophia.lyssy <sophia.lyssy@windsurf.com>
Co-Authored-By: sophia.lyssy <sophia.lyssy@windsurf.com>
@devin-ai-integration

Copy link
Copy Markdown
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, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

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