<AWT Dev> RFR: 8268113: Re-use Long.hashCode() where possible [v2]

Сергей Цыпанов github.com+10835776+stsypanov at openjdk.java.net
Wed Jun 2 16:31:55 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 incrementally with one additional commit since the last revision:

  8268113: Delegate to Double.hashCode()

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4309/files
  - new: https://git.openjdk.java.net/jdk/pull/4309/files/9c7ddc0c..3f5b431d

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

  Stats: 4 lines in 2 files changed: 0 ins; 2 del; 2 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 awt-dev mailing list