Skip to content

Upgrade from Java 9 (1.9) to Java 11#1

Open
devin-ai-integration[bot] wants to merge 1 commit intomasterfrom
devin/1774681261-upgrade-java9-to-java11
Open

Upgrade from Java 9 (1.9) to Java 11#1
devin-ai-integration[bot] wants to merge 1 commit intomasterfrom
devin/1774681261-upgrade-java9-to-java11

Conversation

@devin-ai-integration
Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration bot commented Mar 28, 2026

Summary

Upgrades the project from Java 9 to Java 11 by updating pom.xml only. No source code changes were required — the codebase has no usage of removed Java EE modules (javax.xml.bind, javax.xml.ws) or internal JDK APIs (sun.misc.*, sun.reflect.*).

Build configuration:

  • Replaced <source>1.9</source> / <target>1.9</target> with <release>11</release> (stricter — also validates API usage against JDK 11)
  • Added <java.version>11</java.version> property
  • Upgraded maven-compiler-plugin 3.1 → 3.8.1

Dependency upgrades:

  • JMH (jmh-core, jmh-generator-annprocess) 1.17.4 → 1.37
  • JUnit 4.11 → 4.13.2
  • Pinned maven-shade-plugin to 3.2.4 (was previously unpinned)

Validated: mvn clean verify passes with zero compilation errors on Java 11.

Review & Testing Checklist for Human

  • Run mvn clean verify on your Java 11 environment to confirm compilation and packaging succeed
  • Run a JMH benchmark (e.g., java -jar target/benchmarks.jar) to verify the JMH 1.17→1.37 upgrade didn't break benchmark execution — this was a large version jump and there are no automated tests covering it
  • Confirm the <release>11</release> flag behavior is acceptable — unlike <source>/<target>, it also restricts API usage to the target JDK, which could surface compile errors if code accidentally used Java 12+ APIs in the future

Notes

  • The <java.version>11</java.version> property is informational only — it is not referenced elsewhere in the pom. This is a common Maven convention but has no functional effect here.
  • This repo has no test sources (src/test/), so mvn test reports "No tests to run." The only build validation is successful compilation and shade packaging.
  • Jira: AB-55 (Epic: AB-53)

Link to Devin session: https://app.devin.ai/sessions/aee056c5f98f478a850c69083dbe399f
Requested by: @abhay-codeium


Open with Devin

- Replace <source>1.9</source>/<target>1.9</target> with <release>11</release>
- Add <java.version>11</java.version> property
- Upgrade maven-compiler-plugin from 3.1 to 3.8.1
- Pin maven-shade-plugin to version 3.2.4
- Upgrade JMH (jmh-core, jmh-generator-annprocess) from 1.17.4 to 1.37
- Upgrade JUnit from 4.11 to 4.13.2

Jira: AB-55
Co-Authored-By: Abhay Aggarwal <abhay.aggarwal@codeium.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 and CI monitoring

Copy link
Copy Markdown
Author

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

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 potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in 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.

1 participant