[
https://issues.apache.org/jira/browse/CASSANDRA-18431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17709482#comment-17709482
]
Ekaterina Dimitrova commented on CASSANDRA-18431:
-------------------------------------------------
CI looks "good", matches the expected known failures from CASSANDRA-16895.
Committed:
To https://github.com/apache/cassandra
[d1d733bee5..c387462485|https://github.com/apache/cassandra/commit/c3874624853f5a734a7751965baa9c28e0c83bfd]
trunk -> trunk
> Cassandra doesn't start on JDK17
> --------------------------------
>
> Key: CASSANDRA-18431
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18431
> Project: Cassandra
> Issue Type: Bug
> Components: Build
> Reporter: Ekaterina Dimitrova
> Assignee: Ekaterina Dimitrova
> Priority: Normal
> Fix For: 5.0
>
>
> CASSANDRA-17199 added a new call to jamm measureDeep which hits some JDK
> internals and prevents us from starting Cassandra with JDK17. This will be
> solved with CASSANDRA-18329.
> Until new version of jamm lands we can workaround the problem either by
> adding add-opens or by replacing temporarily
> {code:java}
> public static final long IPV6_SOCKET_ADDRESS_SIZE =
> ObjectSizes.measureDeep(new InetSocketAddress(getIpvAddress(16), 42));
> {code}
> with
> {code:java}
> public static final long IPV6_SOCKET_ADDRESS_SIZE = 168;
> {code}
> measured with JOL.
> Then we can switch back to the current call
> [here|https://github.com/apache/cassandra/commit/4444721b6de555352bf0ac3ef7e36f94dc832f41#diff-1122d7d3efe9721af7244d373e66378f7e90cb05fd65859a52e8a3ea58a7c8f9R45]
> later.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]