RFR: 8377461: Add ZipFile test for incorrect number of entries reported in ENDTOT [v2]
Eirik Bjørsnøs
eirbjo at openjdk.org
Tue Feb 10 06:13:47 UTC 2026
On Mon, 9 Feb 2026 21:10:22 GMT, Lance Andersen <lancea at openjdk.org> wrote:
> A follow one would be to also check:
>
> 4.3.15 Zip64 end of central directory locator
>
> but can be a follow on project
I considered ZIP64, but found that the code under test is blissfully unaware of the source of the ENDOT number.
So adding cases for Zip64 would complicate the test without adding test coverage for initCEN (it would test findEND instead which is a different issue).
This analysis leans on a white-box view of the implementation, but I think that should be okay for this test since the behavior for this edge case seems unspecified anyhow.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29635#issuecomment-3875535012
More information about the core-libs-dev
mailing list