This is an automated email from the ASF dual-hosted git repository. centic9 pushed a commit to branch improve_fuzzing_and_avoid_some_npes in repository https://gitbox.apache.org/repos/asf/poi.git
commit e859fcdbe31ec6e8f661c41a264389cd8a2fe1b0 Author: Dominik Stadler <[email protected]> AuthorDate: Fri Oct 30 10:38:15 2026 +0100 Switch type of exception that is thrown IllegalAccessError is for issues with reflection/permission, better use a normal IllegalArgumentException here. --- poi/src/main/java/org/apache/poi/ss/formula/eval/ConcatEval.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poi/src/main/java/org/apache/poi/ss/formula/eval/ConcatEval.java b/poi/src/main/java/org/apache/poi/ss/formula/eval/ConcatEval.java index b347d7a603..eea9b83977 100644 --- a/poi/src/main/java/org/apache/poi/ss/formula/eval/ConcatEval.java +++ b/poi/src/main/java/org/apache/poi/ss/formula/eval/ConcatEval.java @@ -64,7 +64,7 @@ public final class ConcatEval extends Fixed2ArgFunction implements ArrayFunctio if (ve == BlankEval.instance) { return ""; } - throw new IllegalAccessError("Unexpected value type (" + throw new IllegalArgumentException("Unexpected value type (" + ve.getClass().getName() + ")"); } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
