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

Paul Hohensee phh at openjdk.org
Tue Nov 18 16:11:31 UTC 2025


On Tue, 11 Nov 2025 19:55:59 GMT, Roland Mesde <duke at openjdk.org> wrote:

> Backporting JDK-8317678: Fix up hashCode() for ZipFile.Source.Key. Fixes the hashCode() implementation and adds a new benchmark test. Ran GHA Sanity Checks (passed), related zip tests (passed) and the new benchmark test  (executed properly). The merge conflict was due to the missing benchmark test file, which is in this PR.

The maintainers don't usually approve including a test in a backport which doesn't exist in the target repo, so I'd remove ZipFileOpen.java from the PR. If you do want to include ZipFileOpen.java in this PR, I'd first backport it via [JDK-8300493](https://bugs.openjdk.org/browse/JDK-8300493), and merge that into this PR.

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

PR Review: https://git.openjdk.org/jdk17u-dev/pull/4169#pullrequestreview-3478599210


More information about the jdk-updates-dev mailing list