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

markt 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 965106351e IOE observed on MacOS with APR/native
965106351e is described below

commit 965106351e0c44f992f2271ac927a416d60e4771
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Jan 16 11:22:43 2026 +0000

    IOE observed on MacOS with APR/native
---
 test/org/apache/tomcat/security/TestSecurity2017Ocsp.java | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/test/org/apache/tomcat/security/TestSecurity2017Ocsp.java 
b/test/org/apache/tomcat/security/TestSecurity2017Ocsp.java
index 3dcab42228..fa4ba5dae4 100644
--- a/test/org/apache/tomcat/security/TestSecurity2017Ocsp.java
+++ b/test/org/apache/tomcat/security/TestSecurity2017Ocsp.java
@@ -17,8 +17,6 @@
 package org.apache.tomcat.security;
 
 import java.io.IOException;
-import java.net.SocketException;
-
 import javax.net.ssl.SSLHandshakeException;
 import javax.servlet.http.HttpServletResponse;
 
@@ -103,8 +101,8 @@ public class TestSecurity2017Ocsp extends OcspBaseTest {
         int rc;
         try {
             rc = getUrl("https://localhost:"; + getPort() + "/simple", new 
ByteChunk(), false);
-        } catch (SocketException se) {
-            throw new SSLHandshakeException(se.getMessage());
+        } catch (IOException ioe) {
+            throw new SSLHandshakeException(ioe.getMessage());
         }
 
         // If the TLS handshake fails, the test won't get this far.


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

Reply via email to