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

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


The following commit(s) were added to refs/heads/10.1.x by this push:
     new b4762896b7 Add a warning
b4762896b7 is described below

commit b4762896b760a7a34bdc033a8a6a48974db286e5
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 ed1f90a781..dd0c3bca60 100644
--- a/java/org/apache/tomcat/jni/Pool.java
+++ b/java/org/apache/tomcat/jni/Pool.java
@@ -39,7 +39,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