cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gus Heck (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-13396) Cassandra 3.10: ClassCastException in ThreadAwareSecurityManager
Date Fri, 30 Jun 2017 03:02:02 GMT

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

Gus Heck edited comment on CASSANDRA-13396 at 6/30/17 3:01 AM:
---------------------------------------------------------------

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) Ran tests locally and Installed a version with this patch in JesterJ
and everything seems happy there.


was (Author: gus_heck):
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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message