> Please review this PR which addresses the handling of invalid UTF-8 byte > sequences in the entry name of a LOC file header and a Zip file comment which > is returned via ZipFile::getComment. > > As part of the change, `ZipFile::getComment` will now return `null` if an > invalid UTF-8 byte sequence is encountered while converting the byte array to > a String. The CSR for this change has also been approved. > > Mach5 tiers 1-3 are clean with this change.
Lance Andersen has updated the pull request incrementally with one additional commit since the last revision: Updates based on 1st round of feedback ------------- Changes: - all: https://git.openjdk.org/jdk/pull/17995/files - new: https://git.openjdk.org/jdk/pull/17995/files/e76ff749..dfd49101 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=17995&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17995&range=00-01 Stats: 24 lines in 3 files changed: 1 ins; 2 del; 21 mod Patch: https://git.openjdk.org/jdk/pull/17995.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/17995/head:pull/17995 PR: https://git.openjdk.org/jdk/pull/17995