marianne-manaog opened a new pull request, #2483:
URL: https://github.com/apache/cassandra/pull/2483
This PR adds jvmarg lines into microbench target to run microbench tests for
jdk8, jdk11 and jdk17 to fix the following error encountered when using jdk11:
```
Caused by: java.lang.IllegalAccessException: access to public member failed:
jdk.internal.ref.Cleaner.clean[Ljava.lang.Object;@5189c629/invokeVirtual, from
org.apache.cassandra.io.util.FileUtils (unnamed module @6cbf4322)
```
This PR also makes it compatible to run microbench tests on jdk8, jdk11 and
jdk17.
Command to reproduce the error above before this fix:
```
ant microbench -Dbenchmark.name=ReadWriteTest
```
patch by @marianne-manaog; to be reviewed by @ekaterinadimitrova2 and
@driftx for CASSANDRA-18658
[CASSANDRA-18658](https://issues.apache.org/jira/browse/CASSANDRA-18658)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]