On Tue, 1 Dec 2026 09:19:22 GMT, Timofei Fedotov <[email protected]> wrote:

>> 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.

Thanks, it's good to have test coverage for this too.

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

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

Reply via email to