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 768cfbbe59 Some Java 8 versions trigger SSLExcpetion here
768cfbbe59 is described below

commit 768cfbbe59ad1c23de86fdec5945d6201e6fa019
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Sep 14 10:09:24 2026 +0100

    Some Java 8 versions trigger SSLExcpetion here
---
 test/org/apache/tomcat/util/net/TestCrlSupport.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/test/org/apache/tomcat/util/net/TestCrlSupport.java 
b/test/org/apache/tomcat/util/net/TestCrlSupport.java
index 3507246016..33b03d571b 100644
--- a/test/org/apache/tomcat/util/net/TestCrlSupport.java
+++ b/test/org/apache/tomcat/util/net/TestCrlSupport.java
@@ -22,8 +22,7 @@ import java.util.ArrayList;
 import java.util.Collection;
 import java.util.List;
 
-import javax.net.ssl.SSLHandshakeException;
-
+import javax.net.ssl.SSLException;
 import org.junit.Assert;
 import org.junit.Assume;
 import org.junit.Test;
@@ -121,7 +120,7 @@ public class TestCrlSupport extends TomcatBaseTest {
         try {
             ByteChunk res = getUrl("https://localhost:"; + getPort() + 
"/protected");
             body = res.toString();
-        } catch (SSLHandshakeException | SocketException e) {
+        } catch (SSLException | SocketException e) {
             // May be observed when client certificate is rejected
             body = "FAILED";
         }


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

Reply via email to