git: openjdk/jdk: master: 8349914: ZipFile::entries and ZipFile::getInputStream not consistent with each other when there are duplicate entries

Jaikiran Pai jpai at openjdk.org
Fri Jun 6 02:10:06 UTC 2025


Changeset: 029e3bf8
Branch: master
Author:    Jaikiran Pai <jpai at openjdk.org>
Date:      2025-06-06 02:07:51 +0000
URL:       https://git.openjdk.org/jdk/commit/029e3bf8f582f7399b80c592421b2fd72737e264

8349914: ZipFile::entries and ZipFile::getInputStream not consistent with each other when there are duplicate entries

Co-authored-by: Lance Andersen <lancea at openjdk.org>
Reviewed-by: lancea

! src/java.base/share/classes/java/util/zip/ZipEntry.java
! src/java.base/share/classes/java/util/zip/ZipFile.java
+ test/jdk/java/util/zip/ZipFile/DupEntriesGetInputStream.java



More information about the jdk-changes mailing list