[ 
https://issues.apache.org/jira/browse/CASSANDRA-18831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17899571#comment-17899571
 ] 

Josh McKenzie commented on CASSANDRA-18831:
-------------------------------------------

Here's a PR with working JDK21 support: 
[link.|https://github.com/apache/cassandra/pull/3696]

Currently all in-jvm tests should pass with this; they do on a fork that's 
_very closely tracking_ this branch. There remain failures in python dtests on 
this branch due to logging differences; the branch passes all python dtests on 
JDK11 and I'm going to hopefully squash that by end of this week before I'm out 
on vacation.

[~cnlwsu] / [~jwest] - you're good to start working with this. I expect no 
material changes between now and merge on functionality.

[~mck] - we're good to start CI integration and support for this; you'd 
mentioned having JDK21 docker images and support ready to go and I'd be curious 
to see how the branch fares on ASF CI. It might actually be easier to tidy up 
the ccm/dtest JDK21 support and errors in that env vs. what I'm wrestling with 
w/the CI system I built out.

Of note: we're going to have to continue to support JDK11, 17, and 21 on this 
branch for so long as the analytics subproject has a dependency on the 
cassandra-all build. Bernardo and a few other folks are working on a CEP around 
the build system and a "cassandra-shared" library that'll decouple this for us 
and allow us to drop JDK11 build support in the future.

> JDK21 support
> -------------
>
>                 Key: CASSANDRA-18831
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18831
>             Project: Cassandra
>          Issue Type: Task
>          Components: Build
>            Reporter: Achilles Benetopoulos
>            Assignee: Josh McKenzie
>            Priority: Normal
>             Fix For: 5.x
>
>         Attachments: jdk21-patch
>
>
> This patch builds on the work in CASSANDRA-16895 that added JDK17 to the list 
> of supported Java versions, and extends that work to enable building and 
> running Cassandra under JDK21.
> The following commits comprise the changes included in the attached patch:
>  - 
> [https://github.com/apache/cassandra/commit/b15d4d6980e787ab5f3405ca8cb17a9c92a4aa47]
>  - 
> [https://github.com/apache/cassandra/commit/0c5df38dafe58bfec8924e81507bb604e1543897]
>  - 
> [https://github.com/apache/cassandra/commit/6506b7279d98eed4b2b65b71e0c6f41eb78c6913]
>  - 
> [https://github.com/apache/cassandra/commit/564cbd534c5a975cda0c629c14c68c8745b41451]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to