This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new ecd4aa1af0 Add back method as deprecated
ecd4aa1af0 is described below
commit ecd4aa1af00ca055df9f709cd3c88d315b71b0fa
Author: remm <[email protected]>
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 d9db53cea3..76921e30bc 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 58192af862..8cb7eb759a 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 9.0.96 (remm)" rtext="2024-10-08">
<subsection name="Catalina">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]