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

markt 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 f9909ab312 Revert "Remove deprecation to align with latest JSP 4.0 API"
f9909ab312 is described below

commit f9909ab3124dcaf43e12a51eb59150390737d53c
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Nov 9 13:39:25 2023 +0000

    Revert "Remove deprecation to align with latest JSP 4.0 API"
    
    This reverts commit a171d4529f848797cf33d8b2ba5ea9ba440b1502.
    After further reflection, the JSP team opted to retain this deprecation
---
 java/jakarta/servlet/jsp/ErrorData.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/java/jakarta/servlet/jsp/ErrorData.java 
b/java/jakarta/servlet/jsp/ErrorData.java
index 5424f65d6d..a1d445b059 100644
--- a/java/jakarta/servlet/jsp/ErrorData.java
+++ b/java/jakarta/servlet/jsp/ErrorData.java
@@ -40,7 +40,10 @@ public final class ErrorData {
      * @param statusCode  The status code of the error
      * @param uri         The request URI
      * @param servletName The name of the servlet invoked
+     *
+     * @deprecated Use {#link {@link ErrorData#ErrorData(Throwable, int, 
String, String, String)}
      */
+    @Deprecated(since = "4.0", forRemoval = true)
     public ErrorData(Throwable throwable, int statusCode, String uri, String 
servletName) {
         this(throwable, statusCode, uri, servletName, null);
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to