This is an automated email from the ASF dual-hosted git repository.
markt 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 c500de7600 Fix back-port
c500de7600 is described below
commit c500de7600d6b46722858dc60fa3e1d5ec062d96
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Sep 19 16:21:14 2025 +0100
Fix back-port
---
test/org/apache/coyote/http2/TestStandardSessionIntegrationHttp2.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/test/org/apache/coyote/http2/TestStandardSessionIntegrationHttp2.java
b/test/org/apache/coyote/http2/TestStandardSessionIntegrationHttp2.java
index 7661310f3e..c6780d1b4f 100644
--- a/test/org/apache/coyote/http2/TestStandardSessionIntegrationHttp2.java
+++ b/test/org/apache/coyote/http2/TestStandardSessionIntegrationHttp2.java
@@ -19,7 +19,6 @@ package org.apache.coyote.http2;
import java.io.IOException;
import java.io.PrintWriter;
import java.nio.ByteBuffer;
-import java.nio.charset.StandardCharsets;
import java.util.concurrent.CountDownLatch;
import jakarta.servlet.ServletException;
@@ -125,7 +124,7 @@ public class TestStandardSessionIntegrationHttp2 extends
Http2TestBase {
protected void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException {
resp.setContentType("text/plain");
- resp.setCharacterEncoding(StandardCharsets.UTF_8);
+ resp.setCharacterEncoding("UTF-8");
PrintWriter pw = resp.getWriter();
boolean pass = true;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]