RFR: 8255380: (zipfs) ZipFileSystem::readExtra can fail if zipinfo-time is not set to false [v2]

Claes Redestad redestad at openjdk.java.net
Sun Nov 1 23:07:54 UTC 2020


On Sun, 1 Nov 2020 22:55:48 GMT, Lance Andersen <lancea at openjdk.org> wrote:

> To validate the test, requires info-zip which comes on Mac and linux. It is not included with windows. There are no issues if the Zip is created via java.util.zip or Zip FS

Ah, gotcha. I see and understand the use of the external zip now. This seem a bit fragile - maybe needs to be more graceful in case the system zip doesn't exist or doesn't do what you expect?

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

PR: https://git.openjdk.java.net/jdk/pull/987


More information about the nio-dev mailing list