Re: Decimal Arithmetic, the Host Language and Object-oriented programming
The overflow just causes a wrap around on the integer. This is defined in the Java architecture. The intent of the hash is to produce an integer value that contains contributions from all of the characters. This is still accomplished even after it wraps. If the fix was somehow to prevent the overflow, then I think yes, it should be backed out.