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

Сергей Цыпанов github.com+10835776+stsypanov at openjdk.java.net
Wed Jun 2 14:19:42 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().


Commit messages:
 - 8268113: Re-use Long.hashCode() where possible

Changes: https://git.openjdk.java.net/jdk/pull/4309/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4309&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8268113
  Stats: 10 lines in 7 files changed: 1 ins; 0 del; 9 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