ClassCastException in MulticastRequestAdapter.multicastMessage()
----------------------------------------------------------------
Key: HEDERA-24
URL: https://forge.continuent.org/jira/browse/HEDERA-24
Project: Hedera
Type: Bug
Versions: Hedera 1.5.4
Reporter: Jeff Mesnil
Assigned to: Damian Arregui
method MulticastRequestAdapter.multicastMessage(List dests, Serializable msg,
int waitMode, long timeout) downcasts its dests parameters to ArrayList to be
able to clone it.
The downcast is done w/o instanceof checking which makes it throw a
ClassCastException if the dests passed in parameter is a List which is not an
ArrayList
(e.g. Vector, LinkedList,...)
In order to work safely, an ArrayList should be created internally from the
dests List
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
Hedera mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/hedera