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

markt 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 028d87f905 URI(String) can also throw an IAE
028d87f905 is described below

commit 028d87f9054564f36a34f7a362e4560e59efdcde
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Nov 16 16:19:02 2022 +0000

    URI(String) can also throw an IAE
---
 java/org/apache/catalina/startup/Bootstrap.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/startup/Bootstrap.java 
b/java/org/apache/catalina/startup/Bootstrap.java
index 2f8999a829..461d54b304 100644
--- a/java/org/apache/catalina/startup/Bootstrap.java
+++ b/java/org/apache/catalina/startup/Bootstrap.java
@@ -179,7 +179,7 @@ public final class Bootstrap {
                 URL url = uri.toURL();
                 repositories.add(new Repository(repository, 
RepositoryType.URL));
                 continue;
-            } catch (MalformedURLException | URISyntaxException e) {
+            } catch (IllegalArgumentException | MalformedURLException | 
URISyntaxException e) {
                 // Ignore
             }
 


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

Reply via email to