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 2026/09/02 06:53:46 UTC
(tomcat) branch main updated: Add a warning
This is an automated email from the ASF dual-hosted git repository.
markt-asf 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 1f156f4e74 Add a warning
1f156f4e74 is described below
commit 1f156f4e7488208468a391f019065b653727c394
Author: Mark Thomas <ma...@apache.org>
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org