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

markt-asf 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 54b4404966 Fix back-port
54b4404966 is described below

commit 54b4404966558790a87c1431ac2363afda5930ea
Author: Mark Thomas <[email protected]>
AuthorDate: Fri May 1 11:06:44 2026 +0100

    Fix back-port
---
 .../TestWebdavBoundedByteArrayOutputStream.java         | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git 
a/test/org/apache/catalina/servlets/TestWebdavBoundedByteArrayOutputStream.java 
b/test/org/apache/catalina/servlets/TestWebdavBoundedByteArrayOutputStream.java
index 9a6877419d..9cfc0d834d 100644
--- 
a/test/org/apache/catalina/servlets/TestWebdavBoundedByteArrayOutputStream.java
+++ 
b/test/org/apache/catalina/servlets/TestWebdavBoundedByteArrayOutputStream.java
@@ -80,23 +80,6 @@ public class TestWebdavBoundedByteArrayOutputStream {
     }
 
 
-    @Test
-    public void testWriteBytes() {
-        BoundedByteArrayOutputStream bbaos = new 
BoundedByteArrayOutputStream(TEST_LIMIT);
-
-        for (int i = 0; i < TEST_LIMIT; i++) {
-            bbaos.writeBytes(ONE_BYTE_ARRAY);
-        }
-
-        try {
-            bbaos.writeBytes(ONE_BYTE_ARRAY);
-            Assert.fail("Writing 11th byte failed to trigger error");
-        } catch (ArrayIndexOutOfBoundsException e) {
-            // Pass
-        }
-    }
-
-
     @Test
     public void testReset() throws IOException {
         BoundedByteArrayOutputStream bbaos = new 
BoundedByteArrayOutputStream(TEST_LIMIT);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to