You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2022/03/22 12:33:45 UTC
[tomcat] branch main updated: 65959: Serialize Function as String[] rather Class[]
This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new fc0b464 65959: Serialize Function as String[] rather Class[]
fc0b464 is described below
commit fc0b4640b8e5970af6843cba4f48ce514e9c2822
Author: remm <re...@apache.org>
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 436fb77..c1a69d6 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -127,6 +127,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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org