On Wed, 10 Nov 2021 21:32:32 GMT, Claes Redestad <redes...@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 > > test/jdk/java/util/zip/ZipFile/ZipFileDuplicateEntryTest.java line 515: > >> 513: } >> 514: >> 515: /** > > Left-over? Thank you for the quick review Claes! I was going to remove this method but chose to leave it in to make it a bit more straight forward to port to JDK 8 (which I have run the test on as well). No strong preferences, just figured leaving it there might make it slightly easier for a back port. ------------- PR: https://git.openjdk.java.net/jdk/pull/6342