You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2025/01/17 14:34:36 UTC

(tomcat) branch 9.0.x updated: Fix logic issue

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 <re...@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: (tomcat) branch 9.0.x updated: Fix logic issue

Posted by Mark Thomas <ma...@apache.org>.
On 17/01/2025 14:34, remm@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 <re...@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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
> 


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