commit | 4f6ca743c663912bfd6f2feff20373bd8bb75473 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Wed May 04 10:37:28 2016 -0700 |
committer | Pavlin Radoslavov <pavlin@google.com> | Wed May 04 17:16:49 2016 -0700 |
tree | 67fd79f767ddb5ee06d131c40dac755728049d07 | |
parent | 124563d21a8454ce627c991ac6fff56407654939 [diff] |
Fix divergent equals and hashCode behavior Calling Objects.hash with a byte[] will call the identity hashCode on the byte[] (data, data_mask) and this doesn't agree with the use of Objects.deepEquals in equals. Bug caught by error prone. Bug: 27723540 Change-Id: Ic33f9a341165db6c9339321f81f7af63d627a2cb