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

Satyen Subramaniam ssubramaniam at openjdk.org
Mon May 5 16:38:57 UTC 2025


On Fri, 2 May 2025 21:24:32 GMT, Satyen Subramaniam <ssubramaniam at openjdk.org> wrote:

>> 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

Since this is just a performance improvement, not high priority, closing

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1729#issuecomment-2851576399


More information about the jdk-updates-dev mailing list