Fix JDK17 startup issue after CASSANDRA-17199; temporary workaround, to be reverted after CASSANDRA-18239

Patch by Ekaterina Dimitrova; reviewed by Michael Semb Wever for CASSANDRA-18431
This commit is contained in:
Ekaterina Dimitrova 2023-04-05 16:29:28 -04:00
parent 58f5301e78
commit d1d733bee5
2 changed files with 3 additions and 0 deletions

View File

@ -257,6 +257,7 @@
<string>--add-opens java.base/java.lang=ALL-UNNAMED</string>
<string>--add-opens java.base/java.math=ALL-UNNAMED</string>
<string>--add-opens java.base/java.lang.reflect=ALL-UNNAMED</string>
<string>--add-opens java.base/java.net=ALL-UNNAMED</string>
</resources>
<pathconvert property="_jvm_args_concat2" refid="_jvm17_arg_items" pathsep=" "/>
<condition property="java17-jvmargs" value="${_jvm_args_concat2}" else="">

View File

@ -103,6 +103,8 @@
--add-opens java.base/java.math=ALL-UNNAMED
#in-jvm tests? plus # https://chronicle.software/chronicle-support-java-17/
--add-opens java.base/java.lang.reflect=ALL-UNNAMED
#jamm post CASSANDRA-17199
--add-opens java.base/java.net=ALL-UNNAMED
### GC logging options -- uncomment to enable