[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: |
Wed, 1 Oct 2003 09:48:36 +1000 |
I don't know the details of this bug, but I'll make the following
observations:
- any class that extends AbstractCollection and does not override the
methods defined there, must provide valid implementations for size()
and an iterator.
- any class that can't/doesn't want to provide a version of size()
that is accurate, must document that fact and implement all methods it
inherits that would otherwise rely on size() being accurate. Finding
out where size() is used will probably require looking at the source
for your parent classes.
David Holmes
- Re: [patch] Re: HashMap putAll/putAllInternal bug, (continued)
[really patch] Re: HashMap putAll/putAllInternal bug, Stuart Ballard, 2003/09/25