Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12062

Fail fast if a collection is modified during marshalling

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 11.0.0.Final, 10.1.8.Final
    • Marshalling
    • None

      If a collection is modified by a different thread during marshalling, the serialization usually fails with a ConcurrentModificationException. But in rare cases, MarshallUti.marshallCollection() may succeed to write a size of X and then Y elements.

      MarshallUti.marshallCollection() could keep track of how many elements it writes and throw an exception at the end if the number of elements it wrote is different from the size it wrote.

              Unassigned Unassigned
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: