You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jacek Lewandowski (Jira)" <ji...@apache.org> on 2023/07/31 06:18:00 UTC

[jira] [Created] (CASSANDRA-18711) Replace intercepting System.exit by a custom SecurityManager with something else

Jacek Lewandowski created CASSANDRA-18711:
---------------------------------------------

             Summary: Replace intercepting System.exit by a custom SecurityManager with something else
                 Key: CASSANDRA-18711
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18711
             Project: Cassandra
          Issue Type: Task
            Reporter: Jacek Lewandowski


{{SecurityManager}} is currently used to intercept JVM shutdown in several places. Unfortunately, it will be dropped from JDK, and so far, there has been no alternative mechanism implemented in JDK. It already results in many runtime warnings when running Cassandra 5.0 with JDK 17 (those warnings cannot be disabled).

https://openjdk.org/jeps/411

We may wait for something provided by JDK in a future release or maybe implement a custom solution if needed.




--
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