[
https://issues.apache.org/jira/browse/CASSANDRA-17178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17631798#comment-17631798
]
David Capwell commented on CASSANDRA-17178:
-------------------------------------------
Removed jdk17 support for now as we don't support JDK 17 normally.
{code}
$ ant.sh --jvm 8 test-simulator-dtest
...
test-simulator-dtest:
...
[junit-timeout] Testsuite:
org.apache.cassandra.simulator.test.MonitorMethodTransformerTest
[junit-timeout] Testsuite:
org.apache.cassandra.simulator.test.MonitorMethodTransformerTest Tests run: 2,
Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.274 sec
...
[junit-timeout] Testsuite:
org.apache.cassandra.simulator.test.ShortPaxosSimulationTest
[junit-timeout] Testsuite:
org.apache.cassandra.simulator.test.ShortPaxosSimulationTest Tests run: 2,
Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 56.589 sec
...
[junit-timeout] Testcase:
selfReconcileTest(org.apache.cassandra.simulator.test.ShortPaxosSimulationTest):SKIPPED:
fails due to OOM DirectMemory - unclear why
[junit-timeout] Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
[junit-timeout] Testsuite:
org.apache.cassandra.simulator.test.TrivialSimulationTest
[junit-timeout] Testsuite:
org.apache.cassandra.simulator.test.TrivialSimulationTest Tests run: 3,
Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.714 sec
...
BUILD SUCCESSFUL
Total time: 2 minutes 9 seconds
{code}
{code}
$ ant.sh --jvm 11 test-simulator-dtest
...
BUILD SUCCESSFUL
Total time: 2 minutes 21 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: [email protected]
For additional commands, e-mail: [email protected]