On Tue, 1 Dec 2026 08:22:43 GMT, Alan Bateman <[email protected]> wrote:

>> Timofei Fedotov has updated the pull request incrementally with two 
>> additional commits since the last revision:
>> 
>>  - Convert ZIP64 regression test to JUnit
>>  - Validate ZIP64 directory fields in findEND
>
> test/jdk/java/util/zip/ZipFile/NegativeZip64CentralDirectorySize.java line 67:
> 
>> 65:         buffer.putShort(ZIP64_END_OFFSET + 14, (short) 45);
>> 66: 
>> 67:         // Set the ZIP64 central directory size to -1.
> 
> It looks this test (and the other test for ZipFile) exercise the cenlen < 0 
> case. Can we test the cenoff < 0 case too (or maybe I missed it in the two 
> tests).

Done.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/34122#discussion_r4751766757

Reply via email to