commit | 27b250928cb3401d9a0a3a3f4b2026f1a431b6df | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Wed May 04 10:37:28 2016 -0700 |
committer | Andre Eisenbach <eisenbach@google.com> | Thu May 05 20:24:51 2016 +0000 |
tree | ee8fa0ddf882dd2b9d6939beef138734d22a942d | |
parent | 11976279d5403fb65d9f0ea72b0e450dfd841958 [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