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

markt-asf 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 5e9ce53d07 Add a warning
5e9ce53d07 is described below

commit 5e9ce53d0718cd926f5712fa1ba8d1d2cc690228
Author: Mark Thomas <[email protected]>
AuthorDate: Wed Sep 2 07:53:37 2026 +0100

    Add a warning
---
 java/org/apache/tomcat/jni/Pool.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/jni/Pool.java 
b/java/org/apache/tomcat/jni/Pool.java
index 849f0ffbb7..21b0289055 100644
--- a/java/org/apache/tomcat/jni/Pool.java
+++ b/java/org/apache/tomcat/jni/Pool.java
@@ -52,7 +52,7 @@ public class Pool {
 
     /**
      * Destroy the pool. This takes similar action as apr_pool_clear() and 
then frees all the memory. This will actually
-     * free the memory.
+     * free the memory. Calling this more than once for a pool will trigger a 
JVM crash.
      *
      * @param pool The pool to destroy
      */


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to