[jboss-jira] [JBoss JIRA] Reopened: (JGRP-796) RpcDispatcher.Marshaller: use Buffer instead of byte[]

Bela Ban (JIRA) jira-events at lists.jboss.org
Mon Jul 21 09:38:52 EDT 2008


     [ https://jira.jboss.org/jira/browse/JGRP-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban reopened JGRP-796:
---------------------------



Doesn't fly: a Message which points to byte[] buf and offset/length, will be stored by UNICAST/NAKACK for retransmission. When retransmission happens, the underlying byte[] buffer might have changed, as release() was called long ago !

Actually, we need to investigate ALL occurrences where we pass a buyte[], int offset, int length to Message() !

> RpcDispatcher.Marshaller: use Buffer instead of byte[]
> ------------------------------------------------------
>
>                 Key: JGRP-796
>                 URL: https://jira.jboss.org/jira/browse/JGRP-796
>             Project: JGroups
>          Issue Type: Task
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>            Priority: Minor
>             Fix For: 2.7
>
>
> A Buffer allows us to pass in byte[] arrays with a different offset and length; more flexible. Maybe create a Marshaller2 (extending Marshaller)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list