This is an automated email from the ASF dual-hosted git repository. remm 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 62159b1939 Fix build 62159b1939 is described below commit 62159b193908e4433f40f8151bf000022d12e13b Author: remm <r...@apache.org> AuthorDate: Tue Sep 19 14:33:40 2023 +0200 Fix build --- java/org/apache/tomcat/util/net/AbstractEndpoint.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/java/org/apache/tomcat/util/net/AbstractEndpoint.java b/java/org/apache/tomcat/util/net/AbstractEndpoint.java index efb21b43d6..4424fda9c3 100644 --- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java +++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java @@ -278,10 +278,9 @@ public abstract class AbstractEndpoint<S,U> { isSSLEnabled()) { try { createSSLContext(sslHostConfig); + } catch (IllegalArgumentException e) { + throw e; } catch (Exception e) { - if (e instanceof IllegalArgumentException) { - throw e; - } throw new IllegalArgumentException(e); } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org