[jboss-jira] [JBoss JIRA] Created: (JGRP-304) Verify that MergeView is marshalled/unmarshalled correctly
Bela Ban (JIRA)
jira-events at jboss.com
Sat Sep 9 04:29:28 EDT 2006
Verify that MergeView is marshalled/unmarshalled correctly
----------------------------------------------------------
Key: JGRP-304
URL: http://jira.jboss.com/jira/browse/JGRP-304
Project: JGroups
Issue Type: Task
Affects Versions: 2.3 SP1
Reporter: Bela Ban
Assigned To: Bela Ban
Fix For: 2.4
If MergeView contains subgroups who have Views and *MergeViews*, then MergeView.readFrom() is probably incorrect because readFrom() explicitly creates a *View*, not a *MergView* :
public void readFrom(DataInputStream in) throws IOException, IllegalAccessException, InstantiationException {
super.readFrom(in);
short len=in.readShort();
if(len > 0) {
View v;
subgroups=new Vector();
for(int i=0; i < len; i++) {
v=new View(); // <========= here
v.readFrom(in);
subgroups.add(v);
}
}
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list