`System.identityHashCode` returns a hash that does not consider a Message's values. This means two Messages with identical values will not have identical hashCodes. This patch uses the pattern from RubyMap to combine the hashCodes from all values in a given message and produce a unique, consistent, value-based hash.pull/2163/head
parent
b8e7e892c8
commit
525c6327ab
1 changed files with 17 additions and 2 deletions
Loading…
Reference in new issue