Re: Non-Deterministic / Unpredictable Behavior (Again) [SOLVED]

Randall R Schulz <[email protected]> Fri, 11 Apr 2008 07:38:33 -0700
Newsgroups gmane.comp.windows.devel.java.advanced
Message-ID <[email protected]>
On Thursday 10 April 2008 18:25, Randall R Schulz wrote:
> Hi,
>
> Well, I've done the fine-tooth-comb routine and still have the
> problem of unrepeatable results.
>
> ...

Well, I finally found the problem.

The reason it escaped my attention was that I had an auxiliary class
used internally in a key indexing structure that (intentionally) used
identity equality semantics. Because I was using the default equals(),
I did not implement a hashCode() override.

Big mistake.

Oh, well, I cleaned up a lot of other stuff along the way.


Randall Schulz

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com