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
This commit is contained in:
Stephen Colebourne 2005-07-16 11:30:55 +00:00
parent e1c5f7fb49
commit 6adec6b8d4
3 changed files with 9 additions and 0 deletions

View File

@ -87,6 +87,7 @@ If this causes major headaches to anyone please contact commons-dev at jakarta.a
<li>BoundedFifoBuffer/CircularFifoBuffer - Fix serialization to work in case where buffer serialized when full [31433]</li> <li>BoundedFifoBuffer/CircularFifoBuffer - Fix serialization to work in case where buffer serialized when full [31433]</li>
<li>BoundedFifoBuffer - Fix iterator remove bug causing ArrayIndexOutOfBounds error [33071]</li> <li>BoundedFifoBuffer - Fix iterator remove bug causing ArrayIndexOutOfBounds error [33071]</li>
<li>UnboundedFifoBuffer - Fix iterator remove bug causing ArrayIndexOutOfBounds error [35733]</li> <li>UnboundedFifoBuffer - Fix iterator remove bug causing ArrayIndexOutOfBounds error [35733]</li>
<li>UnboundedFifoBuffer - Fix deserialization to work with subsequant object manipulation [35763]</li>
<li>IteratorChain.remove() - Fix to avoid IllegalStateException when one of the underlying iterators is a FilterIterator [34267]</li> <li>IteratorChain.remove() - Fix to avoid IllegalStateException when one of the underlying iterators is a FilterIterator [34267]</li>
<li>ExtendedProperties.convertProperties() - Fix to handle default properties maps correctly [32204]</li> <li>ExtendedProperties.convertProperties() - Fix to handle default properties maps correctly [32204]</li>
<li>Add casts to avoid some JDK1.5 compilation warnings [35474]</li> <li>Add casts to avoid some JDK1.5 compilation warnings [35474]</li>

View File

@ -225,9 +225,15 @@
<contributor> <contributor>
<name>Simon Kitching</name> <name>Simon Kitching</name>
</contributor> </contributor>
<contributor>
<name>Thomas Knych</name>
</contributor>
<contributor> <contributor>
<name>Peter KoBek</name> <name>Peter KoBek</name>
</contributor> </contributor>
<contributor>
<name>Jordan Krey</name>
</contributor>
<contributor> <contributor>
<name>Olaf Krische</name> <name>Olaf Krische</name>
</contributor> </contributor>

View File

@ -58,6 +58,8 @@ import org.apache.commons.collections.BufferUnderflowException;
* @author Paul Jack * @author Paul Jack
* @author Stephen Colebourne * @author Stephen Colebourne
* @author Andreas Schlosser * @author Andreas Schlosser
* @author Thomas Knych
* @author Jordan Krey
*/ */
public class UnboundedFifoBuffer extends AbstractCollection implements Buffer, Serializable { public class UnboundedFifoBuffer extends AbstractCollection implements Buffer, Serializable {
// invariant: buffer.length > size() // invariant: buffer.length > size()