From b7c2cabf3f222d129689403a41e64eedf043863c Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Sun, 20 Feb 2022 11:27:17 +0000 Subject: [PATCH] change error message to suggest large files will need overrides git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898250 13f79535-47bb-0310-9956-ffa450edef68 --- poi/src/main/java/org/apache/poi/util/IOUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poi/src/main/java/org/apache/poi/util/IOUtils.java b/poi/src/main/java/org/apache/poi/util/IOUtils.java index d05c1387a7..1ab9f9cae9 100644 --- a/poi/src/main/java/org/apache/poi/util/IOUtils.java +++ b/poi/src/main/java/org/apache/poi/util/IOUtils.java @@ -554,7 +554,7 @@ public final class IOUtils { private static void throwRFE(long length, int maxLength) { throw new RecordFormatException(String.format(Locale.ROOT, "Tried to allocate an array of length %,d" + ", but the maximum length for this record type is %,d.\n" + - "If the file is not corrupt, please open an issue on bugzilla to request \n" + + "If the file is not corrupt or large, please open an issue on bugzilla to request \n" + "increasing the maximum allowable size for this record type.\n"+ "As a temporary workaround, consider setting a higher override value with " + "IOUtils.setByteArrayMaxOverride()", -- 2.39.5