[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [really patch] Re: HashMap putAll/putAllInternal bug
From: |
David Holmes |
Subject: |
RE: [really patch] Re: HashMap putAll/putAllInternal bug |
Date: |
Tue, 14 Oct 2003 08:15:32 +1000 |
Stuart Ballard wrote:
> because the code that's causing a problem is in HashMap,
> not AbstractMap, and it applies
> when a Map of my type is passed to putAll() on a HashMap.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Stuart I apologize. I had misunderstood the exact nature and source of
the problem. I agree that both Abstractmap and HashMap putAll methods
should use hasNext() of the target collections iterator, not it's
size() method. In fact those methods should use nothing other than the
target collection's iterator as specified in AbstractMap.
David Holmes
- Re: [really patch] Re: HashMap putAll/putAllInternal bug, Stuart Ballard, 2003/10/08
- Re: [really patch] Re: HashMap putAll/putAllInternal bug, Brian Jones, 2003/10/08
- Re: [really patch] Re: HashMap putAll/putAllInternal bug, Bryce McKinlay, 2003/10/09
- Re: [really patch] Re: HashMap putAll/putAllInternal bug, Sascha Brawer, 2003/10/09
- Re: [really patch] Re: HashMap putAll/putAllInternal bug, Bryce McKinlay, 2003/10/09
- Re: [really patch] Re: HashMap putAll/putAllInternal bug, Stuart Ballard, 2003/10/10
- RE: [really patch] Re: HashMap putAll/putAllInternal bug, David Holmes, 2003/10/12
- Re: [really patch] Re: HashMap putAll/putAllInternal bug, Stephen Crawley, 2003/10/12
- Re: [really patch] Re: HashMap putAll/putAllInternal bug, Stuart Ballard, 2003/10/13
- RE: [really patch] Re: HashMap putAll/putAllInternal bug,
David Holmes <=
- Re: [really patch] Re: HashMap putAll/putAllInternal bug, Eric Blake, 2003/10/16
- Re: [really patch] Re: HashMap putAll/putAllInternal bug, Stuart Ballard, 2003/10/22
- Re: [really patch] Re: HashMap putAll/putAllInternal bug, Stuart Ballard, 2003/10/27
- Re: [really patch] Re: HashMap putAll/putAllInternal bug, Stuart Ballard, 2003/10/13
- Re: [really patch] Re: HashMap putAll/putAllInternal bug, Eric Blake, 2003/10/16
- Re: [really patch] Re: HashMap putAll/putAllInternal bug, Bryce McKinlay, 2003/10/13