RFR: 8321156: Improve the handling of invalid UTF-8 byte sequences for ZipInputStream::getNextEntry and ZipFile::getComment [v3]

Lance Andersen lancea at openjdk.org
Sun Feb 25 19:08:54 UTC 2024


On Sun, 25 Feb 2024 15:26:35 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> (In passing, the casing of "zip file" is very inconsistent in the javadoc, it's "ZIP file" in some places, "zip file" in others, the change here uses "Zip file").

Thank you for pointing out the discrepancy above.

Let's decide on which way to go and I will update  under a separate PR.

I would suggest "ZIP file" based on the PKWare APPNOTE.TXT, but the man pages for info-zip command _zip_ command uses "zip file"

Apache commons also uses "ZIP file" or "Zip archive"

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/17995#discussion_r1501878600


More information about the core-libs-dev mailing list