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

remm 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 5b003d3a3e Fix logic issue
5b003d3a3e is described below

commit 5b003d3a3efa3ecd038fa0b2ce90c046f890c7b8
Author: remm <r...@apache.org>
AuthorDate: Fri Jan 17 15:34:22 2025 +0100

    Fix logic issue
---
 java/org/apache/tomcat/util/compat/JreCompat.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/compat/JreCompat.java 
b/java/org/apache/tomcat/util/compat/JreCompat.java
index 135b7bc21c..cb009eb052 100644
--- a/java/org/apache/tomcat/util/compat/JreCompat.java
+++ b/java/org/apache/tomcat/util/compat/JreCompat.java
@@ -542,7 +542,7 @@ public class JreCompat {
             return false;
         }
         try {
-            useCanonCachesField.set(null, Boolean.TRUE);
+            useCanonCachesField.set(null, Boolean.FALSE);
         } catch (ReflectiveOperationException | IllegalArgumentException e) {
             log.warn(sm.getString("jreCompat.useCanonCaches.failed"), e);
             return false;


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

Reply via email to