You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2026/09/14 09:09:32 UTC
(tomcat) branch 9.0.x updated: Some Java 8 versions trigger SSLExcpetion here
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 <ma...@apache.org>
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org