bug report in String.hashCode()

Tony Kimball alk at pobox.com
Wed Aug 5 15:04:07 PDT 1998


Quoth Archie Cobbs on Wed, 5 August:
: > 	if (hash == 0 && count > 0)
: 
: Sure.. if you're willing to live with that 1/2^32 chance... :-)
: 

You would increment it if zero when computing, leaving 0 out of range.



More information about the kaffe mailing list