Please review this PR which adds validation of incorrect LOC signatures in `ZipFileSystem`.
`ZipFile` already rejects the case where the offset pointed to from the CEN header does not start with the expected LOC signature. It makes sense to add this check to `ZipFileSystem` as well. ------------- Commit messages: - Vaidate that LOC offset pointed to from the CEN actually starts with the expected LOC signature Changes: https://git.openjdk.org/jdk/pull/17059/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17059&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8321802 Stats: 14 lines in 2 files changed: 13 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/17059.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/17059/head:pull/17059 PR: https://git.openjdk.org/jdk/pull/17059