RFR: 8268113: Re-use Long.hashCode() where possible [v10]

Сергей Цыпанов github.com+10835776+stsypanov at openjdk.java.net
Wed Jul 14 12:47:43 UTC 2021


> There is a few JDK classes duplicating the contents of Long.hashCode() for hash code calculation. They should explicitly delegate to Long.hashCode().

Сергей Цыпанов has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 12 additional commits since the last revision:

 - 8270160 Revert changes in BitSet.hashCode
 - Merge branch 'master' into 8268113
 - 8270160 Revert changes in BitSet.hashCode
 - Merge branch 'master' into 8268113
 - Merge branch 'master' into 8268113
 - Merge branch 'master' into 8268113
 - Merge branch 'master' into 8268113
 - Merge branch 'master' into 8268113
 - Merge branch 'master' into 8268113
 - 8268113: Inline local vars where reasonable
 - ... and 2 more: https://git.openjdk.java.net/jdk/compare/2f04364f...1d619c73

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4309/files
  - new: https://git.openjdk.java.net/jdk/pull/4309/files/a72a09b6..1d619c73

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4309&range=09
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4309&range=08-09

  Stats: 6977 lines in 323 files changed: 3755 ins; 2117 del; 1105 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4309.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4309/head:pull/4309

PR: https://git.openjdk.java.net/jdk/pull/4309


More information about the core-libs-dev mailing list