I took the time to run Collections 3.0 against the Collections 2.1 tests.
IT PASSED  ;-)


This is the full details of the 3 'failures':

ArrayIterator 'failure':
new ArrayIterator(Object,1,1) should throw an IllegalArgumentException
.collections.iterators.TestArrayIterator2.testIndexedArray(TestArrayIterator
2.java:203)
Reason - Collections 3.0 enhanced constructor to allow iteration over a zero
length array.
Backwards compatible unless caller relied on error.

UniqueFilterIterator 'failure':
java.lang.IllegalStateException
 java.util.AbstractList$Itr.remove(AbstractList.java:428)
.collections.iterators.FilterIterator.remove(FilterIterator.java:126)
.collections.iterators.TestUniqueFilterIterator.testRemove(TestUniqueFilterI
terator.java:153)
Reason - Collections 3.0 enhanced UniqueFilterIterator to allow remove()
Backwards compatible unless caller relied on error.

PredicatedMap 'failure':
Reason - Collections 3.0 fixed a bug whereby the toArray() method wasn't
protected by the predicate
Backwards compatible unless caller relied on bug.

Stephen


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to