Skip to content

CASSJAVA-115: Java 25 support - #2085

Open
SiyaoIsHiding wants to merge 5 commits into
apache:trunkfrom
SiyaoIsHiding:java-25
Open

CASSJAVA-115: Java 25 support#2085
SiyaoIsHiding wants to merge 5 commits into
apache:trunkfrom
SiyaoIsHiding:java-25

Conversation

@SiyaoIsHiding

Copy link
Copy Markdown
Contributor

Add Java 25 to DataStax CI. Adding Java 25 to ASF CI will be in another PR.
Attention needed on:

  1. Dependency bumps on blockhound and jacoco
  2. Java 25 breaking change on CompletableFuture.get()

Comment thread pom.xml
<!-- allow deep reflection for mockito when using JDK 17+, see https://stackoverflow.com/questions/70993863/mockito-can-not-mock-random-in-java-17 -->
<mockitoopens.argline>--add-opens=java.base/jdk.internal.util.random=ALL-UNNAMED</mockitoopens.argline>
</properties>
</profile>

@absurdfarce absurdfarce Sep 4, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I did away with the "test-jdk-X" blocks as part of the work on CASSJAVA-135. The blocks for all support JDK versions (Java17 and Java21 in that example) were identical so there wasn't really any need to keep it in place. These args match what will be the defaults once that PR is merged so this entire profile can just be deleted.

@absurdfarce

Copy link
Copy Markdown
Contributor

Looks about like what I'd expect @SiyaoIsHiding. I'm going to kick off a Jenkins run just to make sure nothing odd happens but if that's clean I'll argue we should just merge this. We'll need to resolve a few things against changes coming in CASSJAVA-135 but I can do that there just as easily as you can do it here... and I strongly suspect we'll be ready to merge this change before we're ready to merge CASSJAVA-135.

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