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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]