RFR: 8303972: Make test/jdk/jdk/nio/zipfs/TestLocOffsetFromZip64EF.java independent of the zip command line [v3]

Alan Bateman alanb at openjdk.org
Fri Mar 10 21:18:14 UTC 2023


On Fri, 10 Mar 2023 15:54:12 GMT, Eirik Bjorsnos <duke at openjdk.org> wrote:

> Not sure I understand. I could use FileChannel.open with SPARSE (which btw is ignored by the implementation:)

That is true on platforms where files can be sparse by default. On Windows you'll see this translates to create the file as sparse, it needs to be opt-in when creating the file.

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

PR: https://git.openjdk.org/jdk/pull/12979


More information about the nio-dev mailing list