From d1d733bee5ba85088a77d5c1430705dbb47ab68c Mon Sep 17 00:00:00 2001 From: Ekaterina Dimitrova Date: Wed, 5 Apr 2023 16:29:28 -0400 Subject: [PATCH] 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 --- build.xml | 1 + conf/jvm17-server.options | 2 ++ 2 files changed, 3 insertions(+) diff --git a/build.xml b/build.xml index f75314e044..625b234a8f 100644 --- a/build.xml +++ b/build.xml @@ -257,6 +257,7 @@ --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.math=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED + --add-opens java.base/java.net=ALL-UNNAMED diff --git a/conf/jvm17-server.options b/conf/jvm17-server.options index 3e8d2cef76..98a70a20f9 100644 --- a/conf/jvm17-server.options +++ b/conf/jvm17-server.options @@ -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