This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jexl.git

commit e23871db29aae22a1d8810ab73e692867669f86f
Author: Gary Gregory <[email protected]>
AuthorDate: Tue May 21 13:35:11 2024 -0400

    Fix PM AvoidReassigningParameters
---
 .../apache/commons/jexl3/internal/introspection/MethodExecutor.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/commons/jexl3/internal/introspection/MethodExecutor.java
 
b/src/main/java/org/apache/commons/jexl3/internal/introspection/MethodExecutor.java
index 1918b8ee..88d4ff03 100644
--- 
a/src/main/java/org/apache/commons/jexl3/internal/introspection/MethodExecutor.java
+++ 
b/src/main/java/org/apache/commons/jexl3/internal/introspection/MethodExecutor.java
@@ -83,7 +83,8 @@ public final class MethodExecutor extends 
AbstractExecutor.Method {
     }
 
     @Override
-    public Object invoke(final Object o, Object... args) throws 
IllegalAccessException, InvocationTargetException {
+    public Object invoke(final Object o, final Object... oArgs) throws 
IllegalAccessException, InvocationTargetException {
+        Object[] args = oArgs;
         if (vaClass != null && args != null) {
             args = handleVarArg(args);
         }

Reply via email to