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 9973320cb6 Explain the check and tone down the log 9973320cb6 is described below commit 9973320cb69dc5812535121caaa567bf9294abd5 Author: remm <r...@apache.org> AuthorDate: Fri Aug 4 20:59:59 2023 +0200 Explain the check and tone down the log --- java/org/apache/tomcat/util/compat/Jre22Compat.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/org/apache/tomcat/util/compat/Jre22Compat.java b/java/org/apache/tomcat/util/compat/Jre22Compat.java index 486cc8a804..7520310400 100644 --- a/java/org/apache/tomcat/util/compat/Jre22Compat.java +++ b/java/org/apache/tomcat/util/compat/Jre22Compat.java @@ -41,8 +41,8 @@ public class Jre22Compat extends Jre21Compat { // Must be pre-Java 22 log.debug(sm.getString("jre22Compat.javaPre22"), e); } catch (ReflectiveOperationException e) { - // Should never happen - log.error(sm.getString("jre22Compat.unexpected"), e); + // Likely a previous API version + log.debug(sm.getString("jre22Compat.unexpected"), e); } hasPanama = (m1 != null); } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org