[ https://issues.apache.org/jira/browse/CASSANDRA-17992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17624499#comment-17624499 ]
Ekaterina Dimitrova edited comment on CASSANDRA-17992 at 10/26/22 2:21 PM: --------------------------------------------------------------------------- {quote}Do you have a reference to the exceptions we were seeing? {quote} Unfortunately, those CircleCI runs logs have expired. I will try to bump the version later today and try on a recent rebase with JDK17. But this is an excerpt I found in my TODO list: {code:java} java.lang.ClassCastException: class org.apache.cassandra.utils.memory.BufferPool$Chunk cannot be cast to class sun.nio.ch.DirectBuffer{code} {quote}I vaguely recall that it only supports {{DirectByteBuffer}} now, which is probably quite straightforward to resolve. {quote} Quite possible. I haven't dug into it yet, just literally put it on the list just as a thing to consider when the time comes. Thank you for the hint. was (Author: e.dimitrova): {quote}Do you have a reference to the exceptions we were seeing? {quote} Unfortunately, those CircleCI runs logs have expired. I will try to bump the version later today and try on a recent rebase with JDK17. But this is an excerpt I found in my TODO list: java.lang.ClassCastException: class org.apache.cassandra.utils.memory.BufferPool$Chunk cannot be cast to class sun.nio.ch.DirectBuffer {quote}I vaguely recall that it only supports {{DirectByteBuffer}} now, which is probably quite straightforward to resolve. {quote} Quite possible. I haven't dug into it yet, just literally put it on the list just as a thing to consider when the time comes. Thank you for the hint. > Upgrade Netty on 4.x(current trunk) > ----------------------------------- > > Key: CASSANDRA-17992 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17992 > Project: Cassandra > Issue Type: Task > Components: Dependencies > Reporter: Ekaterina Dimitrova > Priority: Low > Fix For: 4.x > > > I haven't been able to identify from the Netty docs which was the lowest > version where JDK17 was added but we are about 40 versions behind in netty 4 > so I suspect we better update. > We need to consider there was an issue with class cast exceptions when > building with JDK17 with newer versions of netty (the newest available in > March 2022). For the record, we didn't see those when running CI on JDK8 and > JDK11. We also need to carefully revision the changes between the netty > versions. > Upgrading will cover also a fix that was discussed in > [this|https://the-asf.slack.com/archives/CK23JSY2K/p1665567660202989] ASF > Slack thread. > CC [~benedict] , [~aleksey] -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org