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

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
     new 4af9929  Fix i18n lookups. Thanks to remm.
4af9929 is described below

commit 4af9929dca55e71a360656cd4b1b8947e9b2b86a
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Oct 1 13:45:33 2019 +0100

    Fix i18n lookups. Thanks to remm.
---
 java/org/apache/tomcat/util/compat/Jre9Compat.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/org/apache/tomcat/util/compat/Jre9Compat.java 
b/java/org/apache/tomcat/util/compat/Jre9Compat.java
index 730d107..0987ff0 100644
--- a/java/org/apache/tomcat/util/compat/Jre9Compat.java
+++ b/java/org/apache/tomcat/util/compat/Jre9Compat.java
@@ -104,10 +104,10 @@ class Jre9Compat extends JreCompat {
 
         } catch (ClassNotFoundException e) {
             // Must be pre-Java 9
-            log.debug("jre9Compat.javaPre9", e);
+            log.debug(sm.getString("jre9Compat.javaPre9"), e);
         } catch (ReflectiveOperationException | IllegalArgumentException e) {
             // Should never happen
-            log.error("jre9Compat.unexpected", e);
+            log.error(sm.getString("jre9Compat.unexpected"), e);
         }
 
         inaccessibleObjectExceptionClazz = c1;


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

Reply via email to