[
https://issues.apache.org/jira/browse/CASSANDRA-16895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17508863#comment-17508863
]
Ekaterina Dimitrova commented on CASSANDRA-16895:
-------------------------------------------------
Hey [~maulin.vasavada], thank you for looking into this. Unfortunately
[~brandon.williams] is right and what you mentioned is not the problem. If you
go to the link I
[shared|https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/1478/workflows/0c8a2139-c59d-4169-be7a-4f83f71524f5/jobs/9622/tests#failed-test-0]
and then under Artifacts section you search for test_tls, in this debug log
[dtest_j17_without_vnodes_logs/1647572865225_test_tls/node1_debug.log|https://9622-218559411-gh.circle-artifacts.com/23/dtest_j17_without_vnodes_logs/1647572865225_test_tls/node1_debug.log].
We see this in the stack trace
{code:java}
java.lang.ClassCastException: class
org.apache.cassandra.utils.memory.BufferPool$Chunk cannot be cast to class
sun.nio.ch.DirectBuffer{code}
Meanwhile, I managed to make at least these 2 tests pass if I do not update
Netty to latest version... which I did after I saw a ticket for doing it on
trunk which worked fine with Java 8/11. :( I am rerunning again the whole suite
with the old Netty version to see what happens then as I suspect this will fix
a lot of tests. I am not saying we should keep old versions around but at least
this finding gives a direction a bit....
> Support Java 17
> ---------------
>
> Key: CASSANDRA-16895
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16895
> Project: Cassandra
> Issue Type: Task
> Components: Build
> Reporter: Ekaterina Dimitrova
> Assignee: Ekaterina Dimitrova
> Priority: Normal
> Fix For: 4.x
>
>
> This ticket is intended to group all issues found to support Java 17 in the
> future.
> Upgrade steps:
> * [Dependencies
> |https://mvnrepository.com/artifact/org.apache.cassandra/cassandra-all/4.0.1]to
> be updated (not all but at least those that require an update in order to
> work with Java 17)
> * More encapsulated JDK internal APIs. Some of the issues might be solved
> with the dependencies updates
> * Currently trunk compiles if we remove the Nashorn dependency (ant script
> tag, used for the test environment; UDFs) . The oracle recommendation to use
> Nashorn-core won't work for the project as it is under GPL 2.0. Most probably
> we will opt in for graal-sdk licensed under UPL
> * All tests to be cleaned
> * CI environment to be setup
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]