This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push: new cf2ae185c2 Add back method as deprecated cf2ae185c2 is described below commit cf2ae185c226784271b6e0dc3799526bdfe7804b Author: remm <r...@apache.org> AuthorDate: Wed Oct 9 09:21:46 2024 +0200 Add back method as deprecated --- java/org/apache/jasper/runtime/JspRuntimeLibrary.java | 7 +++++++ webapps/docs/changelog.xml | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/java/org/apache/jasper/runtime/JspRuntimeLibrary.java b/java/org/apache/jasper/runtime/JspRuntimeLibrary.java index 1b6a75fae9..927bc7f012 100644 --- a/java/org/apache/jasper/runtime/JspRuntimeLibrary.java +++ b/java/org/apache/jasper/runtime/JspRuntimeLibrary.java @@ -1083,6 +1083,13 @@ public class JspRuntimeLibrary { return out; } + @Deprecated + public static void releaseTag(Tag tag, InstanceManager instanceManager, boolean reused) { + // Caller ensures pool is non-null if reuse is true + if (!reused) { + releaseTag(tag, instanceManager); + } + } public static void releaseTag(Tag tag, InstanceManager instanceManager) { try { diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index 73848c3a29..a8b4f30a0d 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -136,6 +136,14 @@ </fix> </changelog> </subsection> + <subsection name="Japser"> + <changelog> + <fix> + Add back tag release method as deprecated in the runtime for compat + with old generated code. (remm) + </fix> + </changelog> + </subsection> </section> <section name="Tomcat 10.1.31 (schultz)" rtext="release in progress"> <subsection name="Catalina"> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org