Skip to content

RATIS-2573. Use Java 25 in CI#1494

Open
adoroszlai wants to merge 5 commits into
apache:masterfrom
adoroszlai:RATIS-2573
Open

RATIS-2573. Use Java 25 in CI#1494
adoroszlai wants to merge 5 commits into
apache:masterfrom
adoroszlai:RATIS-2573

Conversation

@adoroszlai

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Use Java 25 for building and testing Ratis in CI, still targeting Java 8.

  • Add options to allow using sun.misc.Unsafe and loading native libraries. (These will also need to be allowed in Ratis scripts, separately.)
  • Upgrade byte-buddy for Java 25 compatibility (used by Mockito, which we cannot upgrade due to dropping Java 8 support).
  • Drop Java 11 from compile check matrix to keep resource usage the same.

https://issues.apache.org/jira/browse/RATIS-2573

How was this patch tested?

CI:
https://github.com/adoroszlai/ratis/actions/runs/28223570864

@adoroszlai adoroszlai self-assigned this Jun 26, 2026
@adoroszlai adoroszlai added the CI label Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant