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 2022/05/31 10:47:41 UTC

[tomcat] branch 10.0.x updated: Enable Tomcat to find the Tomcat Native 1.x or 2.x library

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

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


The following commit(s) were added to refs/heads/10.0.x by this push:
     new 0fb7bc03cb Enable Tomcat to find the Tomcat Native 1.x or 2.x library
0fb7bc03cb is described below

commit 0fb7bc03cb8bef76fb47ff8ef39466fbd376d3fb
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue May 31 11:46:20 2022 +0100

    Enable Tomcat to find the Tomcat Native 1.x or 2.x library
---
 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 abda71f948..05e02d87dc 100644
--- a/java/org/apache/tomcat/jni/Library.java
+++ b/java/org/apache/tomcat/jni/Library.java
@@ -25,7 +25,7 @@ import java.io.File;
 public final class Library {
 
     /* Default library names */
-    private static final String [] NAMES = {"tcnative-1", "libtcnative-1"};
+    private static final String [] NAMES = {"tcnative-2", "libtcnative-2", "tcnative-1", "libtcnative-1"};
     /*
      * A handle to the unique Library singleton instance.
      */


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