commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25154] - [collections] IteratorChain bug with empty iterators.
Date Fri, 05 Dec 2003 17:48:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25154>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25154

[collections] IteratorChain bug with empty iterators.

klavergne@comcast.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |



------- Additional Comments From klavergne@comcast.net  2003-12-05 17:48 -------
I have found the same problem. I took the test that you submitted here and tried 
it with commons-collections 2.1. It failed on the first line checking the 
hasNext() on the empty iterator. Here are the results of the test:

There was 1 failure:
1) testFirstIteratorIsEmptyBug(org.apache.commons.collections.iterators.
TestIteratorChain) junit.framework.AssertionFailedError: should have next
    at org.apache.commons.collections.iterators.TestIteratorChain.
testFirstIteratorIsEmptyBug(TestIteratorChain.java:189)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.
invoke(DelegatingMethodAccessorImpl.java:25)
FAILURES!!!

---------------------------------------------------------------------
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