This is an automated email from the ASF dual-hosted git repository.
tallison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/main by this push:
new f2f9a3171 TIKA-4413 -- use Zip64Mode.AlwaysWithCompatibility (#2196)
f2f9a3171 is described below
commit f2f9a3171f08035ecd8bdd11a305d16faa21ffbb
Author: Tim Allison <[email protected]>
AuthorDate: Thu May 8 10:05:11 2025 -0400
TIKA-4413 -- use Zip64Mode.AlwaysWithCompatibility (#2196)
---
.../src/main/java/org/apache/tika/eval/app/reports/Report.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/tika-eval/tika-eval-app/src/main/java/org/apache/tika/eval/app/reports/Report.java
b/tika-eval/tika-eval-app/src/main/java/org/apache/tika/eval/app/reports/Report.java
index b1b886217..f098fe857 100644
---
a/tika-eval/tika-eval-app/src/main/java/org/apache/tika/eval/app/reports/Report.java
+++
b/tika-eval/tika-eval-app/src/main/java/org/apache/tika/eval/app/reports/Report.java
@@ -29,6 +29,7 @@ import java.sql.Types;
import java.util.HashMap;
import java.util.Map;
+import org.apache.commons.compress.archivers.zip.Zip64Mode;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.ss.usermodel.Row;
@@ -70,6 +71,7 @@ public class Report {
SXSSFWorkbook wb = new SXSSFWorkbook(new XSSFWorkbook(), 100,
true, true);
wb.setCompressTempFiles(true);
+ wb.setZip64Mode(Zip64Mode.AlwaysWithCompatibility);
defaultIntegerFormatter.reset(wb.getXSSFWorkbook());
defaultDoubleFormatter.reset(wb.getXSSFWorkbook());
sqlCellStyle = wb.createCellStyle();