zip64 compatibility problems
Alan Bateman
Alan.Bateman at oracle.com
Thu Feb 7 16:15:13 UTC 2013
On 07/02/2013 01:55, Martin Buchholz wrote:
> Following up, please review the backward compatiblitiy support in:
>
> http://cr.openjdk.java.net/~martin/webrevs/openjdk8/useZip64For64kEntries/
>
> (ideally users would have even more control via the API, but I ain't gonna
> try to touch that)
No objection to adding a knob for this but do we need changes for
reading too? I'm just concerned that someone could use ZipOutputStream
to create a zip or JAR file that is not readable (in the same VM).
On the property name then we've started using jdk.* for JDK-specific
properties. Also as the default is to support ZIP64 when writing then
maybe this should have a disable* name so someone can specify
-Djdk.util.zip.disableZip64 on the command line without specifying a value.
-Alan.
More information about the core-libs-dev
mailing list