This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push: new b2e0695436 NIO2 triggers an even more generic exception b2e0695436 is described below commit b2e06954361ec33532ae23ed3918860df49a86de Author: Mark Thomas <ma...@apache.org> AuthorDate: Wed Jan 3 13:47:21 2024 +0000 NIO2 triggers an even more generic exception --- test/org/apache/tomcat/util/net/TestSsl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/org/apache/tomcat/util/net/TestSsl.java b/test/org/apache/tomcat/util/net/TestSsl.java index 48902c128a..99a51d3e68 100644 --- a/test/org/apache/tomcat/util/net/TestSsl.java +++ b/test/org/apache/tomcat/util/net/TestSsl.java @@ -34,7 +34,6 @@ import javax.net.SocketFactory; import javax.net.ssl.HandshakeCompletedEvent; import javax.net.ssl.HandshakeCompletedListener; import javax.net.ssl.SSLContext; -import javax.net.ssl.SSLException; import javax.net.ssl.SSLSocket; import javax.net.ssl.SSLSocketFactory; @@ -285,7 +284,7 @@ public class TestSsl extends TomcatBaseTest { if (!renegotiationSupported) { Assert.fail("Renegotiation started when it should have failed"); } - } catch (SSLException e) { + } catch (IOException e) { if (renegotiationSupported) { Assert.fail("Renegotiation failed when it should be supported"); } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org