Skip to content

Commit d79f9a1

Browse files
cushonJavac Team
authored andcommitted
Update an obsolete comment in turbine's zip implementation
zip64 extensible data sectors are now supported. PiperOrigin-RevId: 833320215
1 parent 4214fb6 commit d79f9a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/com/google/turbine/zip/Zip.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public ZipIterable(Path path) throws IOException {
200200
if (totalEntries == ZIP64_MAGICCOUNT
201201
|| cdsize == ZIP64_MAGICVAL
202202
|| cdoffset == ZIP64_MAGICVAL) {
203-
// Assume the zip64 EOCD has the usual size; we don't support zip64 extensible data sectors.
203+
// Check for a zip64 EOCD at a fixed offset, without a zip64 extensible data sector.
204204
long zip64eocdOffset = size - ENDHDR - ZIP64_LOCHDR - ZIP64_ENDHDR;
205205
// Note that zip reading is necessarily best-effort, since an archive could contain 0xFFFF
206206
// entries and the last entry's data could contain a ZIP64_ENDSIG. Some implementations

0 commit comments

Comments
 (0)