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-native.git
The following commit(s) were added to refs/heads/main by this push: new b678f15c3 Align Java code with latest 11.0.x b678f15c3 is described below commit b678f15c3cb6ee28ad87c185d1dbd0757f5ec7ed Author: Mark Thomas <ma...@apache.org> AuthorDate: Wed Jul 17 17:47:50 2024 +0100 Align Java code with latest 11.0.x --- java/org/apache/tomcat/jni/Library.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/java/org/apache/tomcat/jni/Library.java b/java/org/apache/tomcat/jni/Library.java index c0256eacf..a7686c093 100644 --- a/java/org/apache/tomcat/jni/Library.java +++ b/java/org/apache/tomcat/jni/Library.java @@ -97,12 +97,13 @@ public final class Library { System.loadLibrary(libraryName); } - /* create global TCN's APR pool - * This has to be the first call to TCN library. + /** + * Create Tomcat Native's global APR pool. This has to be the first call to TCN library. */ private static native boolean initialize(); - /* destroy global TCN's APR pool - * This has to be the last call to TCN library. + /** + * Destroys Tomcat Native's global APR pool. This has to be the last call to TCN library. This will destroy any APR + * root pools that have not been explicitly destroyed. */ public static native void terminate(); /* Internal function for loading APR Features */ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org