commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
Subject Re: [all] BinaryCompatability tester
Date Sat, 22 May 2004 23:53:56 GMT
Here is the report from clirr between collections 2.1 and 3.0 (edited):

It still needs some work, but the basic framework and so on are there.
Commons definitely needs to start using a tool like this (and maybe Gump
too).

Stephen


ERROR: Removed org.apache.commons.collections.iterators.ProxyListIterator
from the list of superclasses of
org.apache.commons.collections.iterators.FilterListIterator
INFO: Method 'public java.util.ListIterator getListIterator()' has been
added in org.apache.commons.collections.iterators.FilterListIterator
INFO: Method 'public void setListIterator(java.util.ListIterator)' has been
added in org.apache.commons.collections.iterators.FilterListIterator

INFO: Added java.util.NoSuchElementException to the list of superclasses of
org.apache.commons.collections.BufferUnderflowException

ERROR: Removed org.apache.commons.collections.iterators.ProxyIterator from
the list of superclasses of
org.apache.commons.collections.iterators.TransformIterator
INFO: Method 'public java.util.Iterator getIterator()' has been added in
org.apache.commons.collections.iterators.TransformIterator
INFO: Method 'public boolean hasNext()' has been added in
org.apache.commons.collections.iterators.TransformIterator
INFO: Method 'public void remove()' has been added in
org.apache.commons.collections.iterators.TransformIterator
INFO: Method 'public void setIterator(java.util.Iterator)' has been added in
org.apache.commons.collections.iterators.TransformIterator

ERROR: Removed org.apache.commons.collections.iterators.ProxyIterator from
the list of superclasses of
org.apache.commons.collections.iterators.FilterIterator
INFO: Method 'public java.util.Iterator getIterator()' has been added in
org.apache.commons.collections.iterators.FilterIterator
INFO: Method 'public void setIterator(java.util.Iterator)' has been added in
org.apache.commons.collections.iterators.FilterIterator

ERROR: Removed org.apache.commons.collections.iterators.ProxyIterator from
the list of superclasses of
org.apache.commons.collections.iterators.UniqueFilterIterator

ERROR: Removed org.apache.commons.collections.DefaultMapEntry from the list
of superclasses of org.apache.commons.collections.BeanMap$MyMapEntry

ERROR: Return type of Method 'public java.util.ListIterator
emptyListIterator()' has been changed to
org.apache.commons.collections.ResettableListIterator in
org.apache.commons.collections.IteratorUtils
ERROR: Return type of Method 'public java.util.Iterator
singletonIterator(java.lang.Object)' has been changed to
org.apache.commons.collections.ResettableIterator in
org.apache.commons.collections.IteratorUtils
ERROR: Return type of Method 'public java.util.Iterator emptyIterator()' has
been changed to org.apache.commons.collections.ResettableIterator in
org.apache.commons.collections.IteratorUtils
ERROR: Return type of Method 'public java.util.Iterator
arrayIterator(java.lang.Object[])' has been changed to
org.apache.commons.collections.ResettableIterator in
org.apache.commons.collections.IteratorUtils
ERROR: Return type of Method 'public java.util.Iterator
arrayIterator(java.lang.Object[], int)' has been changed to
org.apache.commons.collections.ResettableIterator in
org.apache.commons.collections.IteratorUtils
ERROR: Return type of Method 'public java.util.Iterator
arrayIterator(java.lang.Object[], int, int)' has been changed to
org.apache.commons.collections.ResettableIterator in
org.apache.commons.collections.IteratorUtils




From: "Stephen Colebourne" <scolebourne@btopenworld.com>
> This seems especially relevant with both collections and logging issues
> recently.
>
> From Lars Kuhne, developer of clirr
> > I'd say that the current version number 0.2 reflects the development
> > status pretty well: Alpha
> >
> >     * somewhat usable (detects many compatibility errors already)
> >     * some compatibility problems are currently not detected
> >     * probably not configurable enough for many users
>
> It seems to be a good starting point for building this, so if anyone wants
> to volunteer, Lars would be pleased to receive patches. Its LGPL, but for
a
> tool this shouldn't matter to anyone.
>
> Stephen
>
> From: "Henri Yandell" <bayard@generationjava.com>
> > http://clirr.sourceforge.net/ looks interesting by the way. Just noticed
> > it on Vincent Massol's blog.
> >
> > On Sun, 2 May 2004, Stephen Colebourne wrote:
> >
> > > Does anyone know of a tool to test whether a new version of a jar file
> is
> > > binary compatible with the old version?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message