You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2021/07/28 14:38:29 UTC

[tomcat] branch main updated: Update comments

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 2d49e82  Update comments
2d49e82 is described below

commit 2d49e820b93d28695d760fda66c1affa396f1055
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Jul 28 15:22:32 2021 +0100

    Update comments
---
 java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java | 3 +--
 java/org/apache/tomcat/util/compat/JreCompat.java                  | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java b/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java
index 0adcaba..dce3cfe 100644
--- a/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java
+++ b/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java
@@ -163,8 +163,7 @@ public class JreMemoryLeakPreventionListener implements LifecycleListener {
                  *
                  * https://bugs.openjdk.java.net/browse/JDK-8163449
                  *
-                 * Java 9 onwards disables caching for JAR URLConnections
-                 * Java 8 and earlier disables caching for all URLConnections
+                 * Disable caching for JAR URLConnections
                  */
 
                 // Set the default URL caching policy to not to cache
diff --git a/java/org/apache/tomcat/util/compat/JreCompat.java b/java/org/apache/tomcat/util/compat/JreCompat.java
index 6657973..e31e0a4 100644
--- a/java/org/apache/tomcat/util/compat/JreCompat.java
+++ b/java/org/apache/tomcat/util/compat/JreCompat.java
@@ -24,7 +24,7 @@ import org.apache.tomcat.util.res.StringManager;
 
 /**
  * This is the base implementation class for JRE compatibility and provides an
- * implementation based on Java 8. Sub-classes may extend this class and provide
+ * implementation based on Java 11. Sub-classes may extend this class and provide
  * alternative implementations for later JRE versions
  */
 public class JreCompat {

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