Integrated: 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
Fri Nov 12 17:15:42 UTC 2021
On Wed, 10 Nov 2021 20:51:20 GMT, Lance Andersen <lancea at openjdk.org> wrote:
> 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
This pull request has now been integrated.
Changeset: b85500e5
Author: Lance Andersen <lancea at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/b85500e52479c48b02a96b28fddefa2b25d5d9bd
Stats: 594 lines in 2 files changed: 589 ins; 3 del; 2 mod
8276123: ZipFile::getEntry will not return a file entry when there is a directory entry of the same name within a Zip File
Reviewed-by: redestad, alanb
-------------
PR: https://git.openjdk.java.net/jdk/pull/6342
More information about the core-libs-dev
mailing list