[jdk21u-dev] RFR: 8317678: Fix up hashCode() for ZipFile.Source.Key [v2]

Satyen Subramaniam ssubramaniam at openjdk.org
Fri May 2 21:24:32 UTC 2025


> Backporting JDK-8317678: Fix up hashCode() for ZipFile.Source.Key. Fixes java.util.zip.ZipFile$Source hashCode() impl so that duplicate Source objects aren't created for the same zip file. Adds test. Ran GHA Sanity Checks, local Tier 1 and 2, and new test. Patch is clean.

Satyen Subramaniam 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 two additional commits since the last revision:

 - Merge branch 'openjdk:master' into 8317678
 - Backport 8d9a4b43f4fff30fd217dab2c224e641cb913c18

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

Changes:
  - all: https://git.openjdk.org/jdk21u-dev/pull/1729/files
  - new: https://git.openjdk.org/jdk21u-dev/pull/1729/files/c1cf0cc1..ebb9af07

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1729&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1729&range=00-01

  Stats: 52944 lines in 639 files changed: 39376 ins; 6265 del; 7303 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/1729.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1729/head:pull/1729

PR: https://git.openjdk.org/jdk21u-dev/pull/1729


More information about the jdk-updates-dev mailing list