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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to