This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push:
new 5563753 65959: Serialize Function as String[] rather Class[]
5563753 is described below
commit 5563753331433a15b35b948b4ab725dbde4ec96e
Author: remm <[email protected]>
AuthorDate: Tue Mar 22 13:33:16 2022 +0100
65959: Serialize Function as String[] rather Class[]
This was introduced when cleaning up PR 476
---
java/org/apache/el/lang/FunctionMapperImpl.java | 2 +-
webapps/docs/changelog.xml | 7 +++++++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/java/org/apache/el/lang/FunctionMapperImpl.java
b/java/org/apache/el/lang/FunctionMapperImpl.java
index 0c328bc..7ccdb2f 100644
--- a/java/org/apache/el/lang/FunctionMapperImpl.java
+++ b/java/org/apache/el/lang/FunctionMapperImpl.java
@@ -129,7 +129,7 @@ public class FunctionMapperImpl extends FunctionMapper
implements
} else {
out.writeUTF(this.m.getDeclaringClass().getName());
out.writeUTF(this.m.getName());
- out.writeObject(this.m.getParameterTypes());
+
out.writeObject(ReflectionUtil.toTypeNameArray(this.m.getParameterTypes()));
}
}
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index ddd6df3..ef25e2d 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -122,6 +122,13 @@
</fix>
</changelog>
</subsection>
+ <subsection name="Jasper">
+ <changelog>
+ <fix>
+ <bug>65959</bug>: Serialize Function as String[] rather Class[]. (remm)
+ </fix>
+ </changelog>
+ </subsection>
<subsection name="Web applications">
<changelog>
<fix>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]