On Tue, 1 Dec 2026 06:56:57 GMT, Timofei Fedotov <[email protected]> wrote:
>> Thank you for your work here. A few high level comments: >> >> - It might be beneficial to see if the ZipException can be thrown from >> findEnd() as long as it does not require a heavy lift. >> - for the test: >> -- Please convert to junit >> -- It would be clearer/easier to use >> `ByteBuffer.wrap(zipArray).order(ByteOrder.LITTLE_ENDIAN);` >> -- Add comments making it clear what you are changing such as the output for >> example from zipdetails. This makes it easier for future maintainers > > @LanceAndersen Done. @Sovtouch Out of curiosity, did you run into a malformed ZIP file that lead to the bug report or was this found by AI or other analysis tooling? I'm just curious in case there is some broken tooling in the Java eco system that is create or modifying JAR files and messing up. ------------- PR Comment: https://git.openjdk.org/jdk/pull/34122#issuecomment-7305617355
