This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new 27a6113419 Fix build
27a6113419 is described below
commit 27a6113419db178f77380ed63c4594925547abd1
Author: remm <[email protected]>
AuthorDate: Tue Sep 19 14:28:27 2023 +0200
Fix build
---
java/org/apache/tomcat/util/net/AbstractEndpoint.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
index 9ec7ed50df..95c2512eae 100644
--- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
+++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
@@ -270,7 +270,7 @@ public abstract class AbstractEndpoint<S,U> {
createSSLContext(sslHostConfig);
} catch (Exception e) {
if (e instanceof IllegalArgumentException) {
- throw e;
+ throw (IllegalArgumentException) e;
}
throw new IllegalArgumentException(e);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]