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

markt 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 1e54fc0a91 Add comment on preference for 2.x over 1.x
1e54fc0a91 is described below

commit 1e54fc0a918a032dc2be9159ba080d9cd71a26ca
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Nov 3 14:07:11 2023 +0000

    Add comment on preference for 2.x over 1.x
---
 java/org/apache/tomcat/jni/Library.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/jni/Library.java 
b/java/org/apache/tomcat/jni/Library.java
index cadbcc08d1..9b9585f689 100644
--- a/java/org/apache/tomcat/jni/Library.java
+++ b/java/org/apache/tomcat/jni/Library.java
@@ -20,7 +20,7 @@ import java.io.File;
 
 public final class Library {
 
-    /* Default library names */
+    /* Default library names - use 2.x in preference to 1.x if both are 
available */
     private static final String [] NAMES = {"tcnative-2", "libtcnative-2", 
"tcnative-1", "libtcnative-1"};
     /* System property used to define CATALINA_HOME */
     private static final String CATALINA_HOME_PROP = "catalina.home";


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

Reply via email to