`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/2144/head
parent
7b00595ddf
commit
05aa0df532
1 changed files with 17 additions and 2 deletions
Loading…
Reference in new issue