[
https://issues.apache.org/jira/browse/CASSANDRA-17869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17709058#comment-17709058
]
David Capwell edited comment on CASSANDRA-17869 at 4/5/23 6:36 PM:
-------------------------------------------------------------------
{code}
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field
private final transient java.net.InetSocketAddress$InetSocketAddressHolder
java.net.InetSocketAddress.holder accessible: module java.base does not "opens
java.net" to unnamed module @536dbea0
{code}
Oh, I see that looks to be caused by
{code}
public static final long IPV6_SOCKET_ADDRESS_SIZE = ObjectSizes.measureDeep(new
InetSocketAddress(getIpvAddress(16), 42));
{code}
In some code paths we use hard coded values from JOL, so if this is an issue I
am 100% making this a constant based off JOL as well... The intent is for
memory tracking, so if we are off we store more or less streams than the ideal
state... so if we are good-enough it's fine.
On JDK8 I get 168, so 100% cool with replacing the RHS with "168"
was (Author: dcapwell):
{code}
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field
private final transient java.net.InetSocketAddress$InetSocketAddressHolder
java.net.InetSocketAddress.holder accessible: module java.base does not "opens
java.net" to unnamed module @536dbea0
{code}
Oh, I see that looks to be caused by
{code}
public static final long IPV6_SOCKET_ADDRESS_SIZE = ObjectSizes.measureDeep(new
InetSocketAddress(getIpvAddress(16), 42));
{code}
In some code paths we use hard coded values from JOL, so if this is an issue I
am 100% making this a constant based off JOL as well... The intent is for
memory tracking, so if we are off we store more or less streams than the ideal
state... so if we are good-enough its fine.
> Add JDK17 option to cassandra-builds (build-scripts and jenkins dsl) and on
> jenkins agents
> ------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-17869
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17869
> Project: Cassandra
> Issue Type: Task
> Components: Build
> Reporter: Michael Semb Wever
> Assignee: Michael Semb Wever
> Priority: Normal
> Fix For: 5.x
>
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> Add JDK17 option to cassandra-builds build-scripts, they only currently
> support options {{8}} and {{11}}.
> Add JDK17 to the matrix axes in the jenkins dsl.
> Ensure JDK17 is installed on all the jenkins agents.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]