On Wed, 10 Nov 2021 20:51:20 GMT, Lance Andersen <lan...@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 176:

> 174:             zos.closeEntry();
> 175:         } catch (IOException e) {
> 176:             e.printStackTrace();

Did you mean to catch IOException here? If the setup fails then the test will 
still run.

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

PR: https://git.openjdk.java.net/jdk/pull/6342

Reply via email to