RFR: 8276123: ZipFile::getEntry will not return a file entry when there is a directory entry of the same name within a Zip File
Lance Andersen
lancea at openjdk.java.net
Wed Nov 10 21:01:55 UTC 2021
Hi all,
This patch addresses a regression introduced in JDK 15 via JDK-8242959 where you can no longer access a file entry contained within a Zip file when there is also a directory entry with the same name via ZipFile:getEntry().
Once fixed, the behavior will be consistent with earlier JDK releases.
Mach5 tiers 1-3 have been run without failure
Best
Lance
-------------
Commit messages:
- Address javadoc typo
- Fix for JDK-8276123
Changes: https://git.openjdk.java.net/jdk/pull/6342/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6342&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8276123
Stats: 598 lines in 2 files changed: 593 ins; 3 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/6342.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/6342/head:pull/6342
PR: https://git.openjdk.java.net/jdk/pull/6342
More information about the core-libs-dev
mailing list