[ 
https://issues.apache.org/jira/browse/CASSANDRA-18711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18092941#comment-18092941
 ] 

Michael Semb Wever commented on CASSANDRA-18711:
------------------------------------------------

A temporary workaround may be to disable UDFs, avoiding the use of 
SecurityManager, via a system property.
Example implementation here: https://github.com/datastax/cassandra/pull/2486

> Replace intercepting System.exit by a custom SecurityManager with something 
> else
> --------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-18711
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18711
>             Project: Apache Cassandra
>          Issue Type: Task
>          Components: Build
>            Reporter: Jacek Lewandowski
>            Priority: Normal
>             Fix For: 6.x
>
>
> {{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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to