On Wed, 2 Dec 2026 15:44:15 GMT, Lance Andersen <[email protected]> wrote:

>> Timofei Fedotov has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Simplify ZIP64 regression test setup and parameterized cases
>
> test/jdk/java/util/zip/ZipFile/NegativeZip64CentralDirectorySize.java line 75:
> 
>> 73:             "invalid END header (negative central directory size or 
>> offset)";
>> 74: 
>> 75:     private static byte[] archive(boolean negativeOffset) {
> 
> could use a better name other than archive

Sure. Done.

> test/jdk/java/util/zip/ZipFile/NegativeZip64CentralDirectorySize.java line 89:
> 
>> 87:         buffer.putShort(ZIP64_END_OFFSET + ZIP64_ENDVEM, (short) 45);
>> 88:         buffer.putShort(ZIP64_END_OFFSET + ZIP64_ENDVER, (short) 45);
>> 89: 
> 
> useful to add comments to the above  or append to each putXX for example
> 
> // size of zip64 end
> // version made by
> // version needed to extract
> 
> I would do this for all of these putXX calls in this method

Done.

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

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

Reply via email to