On Tue, 1 Dec 2026 18:11:27 GMT, Lance Andersen <[email protected]> wrote:
>> Timofei Fedotov has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> Extend ZIP64 regression test to cover negative offsets
>
> test/jdk/java/util/zip/ZipFile/NegativeZip64CentralDirectorySize.java line 92:
>
>> 90: ? "negative-zip64-offset.zip"
>> 91: : "negative-zip64-size.zip";
>> 92: return Files.write(tempDir.resolve(name),
>> archive(negativeOffset));
>
> As each test run is unique, we do not need multiple names for the zip files
Done.
> test/jdk/java/util/zip/ZipFile/NegativeZip64CentralDirectorySize.java line 97:
>
>> 95: @Test
>> 96: public void zipFile() throws IOException {
>> 97: for (boolean negativeOffset : new boolean[] {false, true}) {
>
> This should be a ParamertizedTest
Done.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/34122#discussion_r4765215713
PR Review Comment: https://git.openjdk.org/jdk/pull/34122#discussion_r4765215230