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
commit ee6ad621bb4609ac513f0bcc40818ad86840d326 Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Nov 14 10:33:17 2019 +0000 Align with 9.0.x --- java/org/apache/juli/logging/LogFactory.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/java/org/apache/juli/logging/LogFactory.java b/java/org/apache/juli/logging/LogFactory.java index 9ba53a3..3cd4562 100644 --- a/java/org/apache/juli/logging/LogFactory.java +++ b/java/org/apache/juli/logging/LogFactory.java @@ -17,7 +17,6 @@ package org.apache.juli.logging; import java.lang.reflect.Constructor; -import java.lang.reflect.InvocationTargetException; import java.nio.file.FileSystems; import java.util.ServiceLoader; import java.util.logging.LogManager; @@ -133,8 +132,7 @@ public class LogFactory { try { return discoveredLogConstructor.newInstance(name); - } catch (InstantiationException | IllegalAccessException | IllegalArgumentException | - InvocationTargetException e) { + } catch (ReflectiveOperationException | IllegalArgumentException e) { throw new LogConfigurationException(e); } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org