Stern Warning / Lecture from Trove4J

Hi,

I got a kick out of this and just had to mention it here:


I'm personally partly to blame for this (not the bug, the exception message)...

Several years ago I reported a bug against Trove that was, of course, a violation of the equals() / hashCode() congruency contract in my own code (faux immutability coming back to bite me, actually). I guess the author got sick of this, so he put this verbose exception message in when the Trove hashing code detected such a violation.


Randall Schulz

Please sign in to leave a comment.