RFR: 8276123: ZipFile::getEntry will not return a file entry when there is a directory entry of the same name within a Zip File [v2]

Lance Andersen lancea at openjdk.java.net
Thu Nov 11 17:19:10 UTC 2021


On Thu, 11 Nov 2021 12:04:46 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Lance Andersen has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Address minor review comments
>
> 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.

Removed the catch clause

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

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


More information about the core-libs-dev mailing list