On Mon, 30 Nov 2026 20:08:41 GMT, Lance Andersen <[email protected]> wrote:
> Hi all, > > This PR is similar to > [JDK-8396845](https://bugs.openjdk.org/browse/JDK-8396845) which moves the > CEN Header size validation in ZipFileSystem::writeCEN after the extended > timestamp calculation which can result in the extra field length and extra > field data being modified. > > Mach5 tier1 - tier3 ran cleanly > > > > --------- > - [X] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). test/jdk/jdk/nio/zipfs/ZipFSMaxCenHdrTest.java line 65: > 63: /** > 64: * Method used to provide arguments for testing the combined CEN size > limit. > 65: * A ZipException is expected when the stream is closed when the CEN > Header, Nit - should this instead be "A ZipException is expected from FileSystem.close() ...." ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/34136#discussion_r4750834823
