On Wed, 2 Dec 2026 13:08:55 GMT, Jaikiran Pai <[email protected]> wrote:

>> Timofei Fedotov has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Address regression test review comments
>
> test/jdk/java/util/zip/ZipInputStream/ZipInputStreamExtraLength.java line 133:
> 
>> 131:         // A LOC with a valid extra field must produce a ZipEntry.
>> 132:         try (ZipInputStream in = new ZipInputStream(
>> 133:                 new ByteArrayInputStream(createLOCHeader(0, 100)))) {
> 
> I haven't closely followed the issue, but I see several places in this test, 
> like here the `0` value, which use an empty name for the ZIP entry. Is that 
> an important detail of the issue being fixed? If not, can we use some 
> arbitrary name instead? An empty name is odd and raises questions on its 
> purpose when reading this test code in future.

The empty entry name isn't required to reproduce the issue. I have updated the 
tests to use a non-empty name.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/34121#discussion_r4770790414

Reply via email to