Re: Problems building cayenne-src-1.1M3.tar.gz from source and unexpected error using prebuilt jar

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Mar 09 2004 - 12:06:49 EST

  • Next message: Mike Kienenberger: "Re: Problems building cayenne-src-1.1M3.tar.gz from source and unexpected error using prebuilt jar"

    On Mar 9, 2004, at 12:05 PM, Mike Kienenberger wrote:

    > Andrus Adamchik <andru..bjectstyle.org> wrote:
    >> You are right, I missed the point here... need more coffee.
    >>
    >> Just checked collections JavaDocs, and indeed in 2.1
    >> IteratorUtils.singletonIterator returms Iterator, while in 3.0 it
    >> returns a subclass - ResettableIterator. So much for backwards
    >> compatibility....
    >
    > Hmm. Shouldn't that still be compatible? If it's a subclass, then
    > anything that could handle an Iterator should also work with a
    > subclass of
    > Iterator?

    True, but you need to recompile the source, since method signature is
    different.

    Andrus



    This archive was generated by hypermail 2.0.0 : Tue Mar 09 2004 - 12:06:54 EST