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.git


The following commit(s) were added to refs/heads/main by this push:
     new 28763a2ec1 Add comment on preference for 2.x over 1.x
28763a2ec1 is described below

commit 28763a2ec1581707011d8c7f04e3754f37a9b7be
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 2fa3b07ecd..c0256eacff 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