[
https://issues.apache.org/jira/browse/CASSANDRA-12271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16468738#comment-16468738
]
mck commented on CASSANDRA-12271:
---------------------------------
Just missed you [~iamaleksey] :-(
{quote}Are you guys sure that you need to wrap the already defensive copy in a
Collections.unmodifiableList() wrapper?{quote}
Well, you're right [~iamaleksey], the copy is already "defensive".
But this is not a critical code path, so the code intention maybe is more
valuable than the small expense.
> NonSystemKeyspaces jmx attribute needs to return jre list
> ---------------------------------------------------------
>
> Key: CASSANDRA-12271
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12271
> Project: Cassandra
> Issue Type: Bug
> Reporter: Chris Lohfink
> Assignee: Edward Ribeiro
> Priority: Major
> Labels: lhf
> Fix For: 4.0, 3.11.3
>
> Attachments: CASSANDRA-12271.patch, screenshot-1.png, screenshot-2.png
>
>
> If you dont have right guava in classpath you cant query the
> NonSystemKeyspaces attribute. i.e. jconsole. can reproduce using Swiss java
> knife:
> {code}
> # java -jar sjk.jar mx -s localhost:7199 -mg -b
> "org.apache.cassandra.db:type=StorageService" -f NonSystemKeyspaces
> org.apache.cassandra.db:type=StorageService
> java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
> java.lang.ClassNotFoundException:
> com.google.common.collect.ImmutableList$SerializedForm (no security manager:
> RMI class loader disabled)
> {code}
> If return a ArrayList or LinkedList or anything in JRE this will be fixed
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]