From 6adec6b8d4af09e7d5be3f1e6f3a11a6701f71aa Mon Sep 17 00:00:00 2001 From: Stephen Colebourne Date: Sat, 16 Jul 2005 11:30:55 +0000 Subject: [PATCH] Fix UnboundedFifoBuffer deserialization to work with subsequant object manipulation bug 35763, from Thomas Knych and Jordan Krey git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@219317 13f79535-47bb-0310-9956-ffa450edef68 --- RELEASE-NOTES.html | 1 + project.xml | 6 ++++++ .../commons/collections/buffer/UnboundedFifoBuffer.java | 2 ++ 3 files changed, 9 insertions(+) diff --git a/RELEASE-NOTES.html b/RELEASE-NOTES.html index d2c7f3112..8b29e0dc9 100644 --- a/RELEASE-NOTES.html +++ b/RELEASE-NOTES.html @@ -87,6 +87,7 @@ If this causes major headaches to anyone please contact commons-dev at jakarta.a
  • BoundedFifoBuffer/CircularFifoBuffer - Fix serialization to work in case where buffer serialized when full [31433]
  • BoundedFifoBuffer - Fix iterator remove bug causing ArrayIndexOutOfBounds error [33071]
  • UnboundedFifoBuffer - Fix iterator remove bug causing ArrayIndexOutOfBounds error [35733]
  • +
  • UnboundedFifoBuffer - Fix deserialization to work with subsequant object manipulation [35763]
  • IteratorChain.remove() - Fix to avoid IllegalStateException when one of the underlying iterators is a FilterIterator [34267]
  • ExtendedProperties.convertProperties() - Fix to handle default properties maps correctly [32204]
  • Add casts to avoid some JDK1.5 compilation warnings [35474]
  • diff --git a/project.xml b/project.xml index 938f3d0d0..93e64741f 100644 --- a/project.xml +++ b/project.xml @@ -225,9 +225,15 @@ Simon Kitching + + Thomas Knych + Peter KoBek + + Jordan Krey + Olaf Krische diff --git a/src/java/org/apache/commons/collections/buffer/UnboundedFifoBuffer.java b/src/java/org/apache/commons/collections/buffer/UnboundedFifoBuffer.java index 53cffdc5f..44bb83e25 100644 --- a/src/java/org/apache/commons/collections/buffer/UnboundedFifoBuffer.java +++ b/src/java/org/apache/commons/collections/buffer/UnboundedFifoBuffer.java @@ -58,6 +58,8 @@ import org.apache.commons.collections.BufferUnderflowException; * @author Paul Jack * @author Stephen Colebourne * @author Andreas Schlosser + * @author Thomas Knych + * @author Jordan Krey */ public class UnboundedFifoBuffer extends AbstractCollection implements Buffer, Serializable { // invariant: buffer.length > size()