You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "David Capwell (Jira)" <ji...@apache.org> on 2022/11/03 23:27:00 UTC

[jira] [Commented] (CASSANDRA-17178) CEP-10: Simulator Java11 Support

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

David Capwell commented on CASSANDRA-17178:
-------------------------------------------

Testing this out on j8 to make sure I can run things before doing j11, and here is what I see

Warnings about serialVersionUID; should these be build failures?

{code}
[junit-timeout] No serialVersionUID on Serializable class org.apache.cassandra.security.ThreadAwareSecurityManager$1
[junit-timeout] No serialVersionUID on Serializable class org.apache.cassandra.utils.concurrent.Semaphore$Standard
[junit-timeout] No serialVersionUID on Serializable class org.apache.cassandra.metrics.Sampler$Sample
[junit-timeout] No serialVersionUID on Serializable class org.apache.cassandra.distributed.shared.VersionedApplicationState
[junit-timeout] No serialVersionUID on Serializable class org.apache.cassandra.concurrent.SingleThreadExecutorPlus$AtLeastOnce
[junit-timeout] No serialVersionUID on Serializable class org.apache.cassandra.net.ForwardingInfo
[junit-timeout] No serialVersionUID on Serializable class org.apache.cassandra.distributed.impl.MessageImpl
[junit-timeout] No serialVersionUID on Serializable class org.apache.cassandra.distributed.impl.UnsafeGossipHelper$HostInfo
[junit-timeout] No serialVersionUID on Serializable class org.apache.cassandra.service.paxos.ContentionStrategy$TimeLimitedLatencySupplier
[junit-timeout] No serialVersionUID on Serializable class org.apache.cassandra.utils.concurrent.FutureCombiner$Listener
[junit-timeout] No serialVersionUID on Serializable class org.apache.cassandra.streaming.SessionInfo
[junit-timeout] No serialVersionUID on Serializable class org.apache.cassandra.streaming.StreamState
{code}

Tests run differently than normal tests, and this is due to the need for the agent... ATM the tests don't take a long time so this is fine, but if we start to add more simulator tests or want to run them longer we may want to switch to testclasslist to simplify CI... that would require we rethink about a few things...

{code}
$ ant test-simulator-dtest
...
BUILD SUCCESSFUL
Total time: 1 minute 23 seconds
{code}

> CEP-10: Simulator Java11 Support
> --------------------------------
>
>                 Key: CASSANDRA-17178
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17178
>             Project: Cassandra
>          Issue Type: Task
>          Components: Test/fuzz
>            Reporter: Benedict Elliott Smith
>            Assignee: David Capwell
>            Priority: Normal
>             Fix For: NA
>
>
> Java11 introduces new protection domains for package private methods, so that classes loaded with different class loaders may not access each others’ package private methods, regardless of the package they are declared within. There are differences within the JDK also, and there may be byte weaving targets that need updating (ThreadLocalRandom was one that has been handled)



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org