Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-304

Verify that MergeView is marshalled/unmarshalled correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.4
    • 2.3 SP1
    • None
    • Low

      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); }

      }
      }

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: