On 17/01/2025 14:34, r...@apache.org wrote:
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
Whoops. Tx for spotting and fixing that.
Mark
---
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org