You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2023/10/24 09:01:36 UTC

[tomcat] branch main updated: Avoid testsuite failures

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

remm 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 853e49b670 Avoid testsuite failures
853e49b670 is described below

commit 853e49b67041fe57183f4d55e1eaf50e20c12b49
Author: remm <re...@apache.org>
AuthorDate: Tue Oct 24 11:01:16 2023 +0200

    Avoid testsuite failures
    
    Class version checks produce errors.
---
 test/org/apache/tomcat/util/net/TesterSupport.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/org/apache/tomcat/util/net/TesterSupport.java b/test/org/apache/tomcat/util/net/TesterSupport.java
index 03eb1d9bb9..716f1798d6 100644
--- a/test/org/apache/tomcat/util/net/TesterSupport.java
+++ b/test/org/apache/tomcat/util/net/TesterSupport.java
@@ -240,8 +240,8 @@ public final class TesterSupport {
     public static void configureSSLImplementation(Tomcat tomcat, String sslImplementationName) {
         try {
             Class.forName(sslImplementationName);
-        } catch (Exception e) {
-            Assume.assumeNoException(e);
+        } catch (Throwable t) {
+            Assume.assumeNoException(t);
         }
         Assert.assertTrue(tomcat.getConnector().setProperty("sslImplementationName", sslImplementationName));
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org