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

Gus Heck commented on CASSANDRA-13396:
--------------------------------------

After some IRC discussion, I've been encouraged to submit a patch. Here's an 
implementation of my #3 suggestion above: 

https://github.com/nsoft/cassandra/commit/382a44c238b6d4bd7e3d8cc7bbd6710b0a7c5274

Though Github's diff has done a fabulous job of obfuscating it, the patch is 
very simple all I did was add a constant, and two conditions that read the 
system property represented by the constant and prevent this security manager 
and its policies from getting installed via the install() method if the system 
property has been set. 

Circle CI here: https://circleci.com/gh/nsoft/cassandra/2 (still running as of 
this comment, but I expect it to pass) Installed a version with this patch in 
JesterJ and everything seems happy there.

> Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-13396
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13396
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Edward Capriolo
>            Assignee: Eugene Fedotov
>            Priority: Minor
>
> https://www.mail-archive.com/user@cassandra.apache.org/msg51603.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to