Skip to content

build!: Upgrade to Java 25 to benefit from various optimizations#11586

Open
sschuberth wants to merge 1 commit into
mainfrom
java-25
Open

build!: Upgrade to Java 25 to benefit from various optimizations#11586
sschuberth wants to merge 1 commit into
mainfrom
java-25

Conversation

@sschuberth
Copy link
Copy Markdown
Member

BREAKING CHANGE: ORT is now compiled to bytecode level 69, so programmatic users of ORT libraries have to use Java 25 as well.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.43%. Comparing base (2adf5e4) to head (16228c5).
⚠️ Report is 32 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main   #11586   +/-   ##
=========================================
  Coverage     58.43%   58.43%           
  Complexity     1807     1807           
=========================================
  Files           361      361           
  Lines         13499    13499           
  Branches       1383     1383           
=========================================
  Hits           7888     7888           
  Misses         5115     5115           
  Partials        496      496           
Flag Coverage Δ
funTest-external-tools 14.64% <ø> (ø)
funTest-no-external-tools 30.29% <ø> (ø)
test-ubuntu-24.04 41.78% <ø> (ø)
test-windows-2025 41.76% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sschuberth sschuberth marked this pull request as draft March 19, 2026 20:09
@sschuberth

This comment was marked as resolved.

Comment thread .github/workflows/build-and-test.yml
BREAKING CHANGE: ORT is now compiled to bytecode level 69, so programmatic
users of ORT libraries have to use Java 25 as well. Also, the `Gradle`,
`GradleInspector`, and `SBT` package managers will now use Java 25 by
default unless overridden via their `javaVersion` plugin options.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.io>
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.

2 participants