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

Goetz Lindenmaier goetz at openjdk.org
Mon May 5 07:35:55 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

Hi @satyenme, can you please give a detailed reason why you think this should be fixed in 21?

Also, please do a dependent PR for the follow-up test fix [JDK-8322078](https://bugs.openjdk.org/browse/JDK-8322078)

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

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


More information about the jdk-updates-dev mailing list