News for hackers. Stuff that matters.
Re:Why Java's Object.hashCode() is unsafe for use in distrib... by jdsullivan on Tuesday June 19, 2012 @01:01AM (#4130334)
Not quite: "On strings, numbers and collection classes, hashCode() always returns a consistent value, apparently even across different JVM vendors. It’s like that despite the documentation for hashCode() explicitly not guaranteeing consistency across different processes"

String.hashCode explicitly guarantees consistency across processes by specifying how the hash code is computed, this is something that can be safely relied upon. (Same for Integer, Long, Float and Double)

There are no comments on this comment yet.