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 115: > 113: > 114: if (cenSize > MAX_COMBINED_CEN_HEADER_SIZE) { > 115: // Excpect a ZipException as we exceeded the max CEN > header size Typo - should have been "Expect" ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/34136#discussion_r4750974119
