This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new 74ef7be03d URI(String) can also throw an IAE
74ef7be03d is described below
commit 74ef7be03dd8e140168152ae457faefb6a1a8adb
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 307c8b4cb6..018b899bb1 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]