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

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

commit 91ab315f9acbc1ff5beea47cf18783d0d6680503
Author: Mark Thomas <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to