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 9afbb3d67c Deprecate unused code
9afbb3d67c is described below
commit 9afbb3d67c7157f4d42b8d855f629db1b6f346f5
Author: Mark Thomas <[email protected]>
AuthorDate: Tue May 31 19:38:34 2022 +0100
Deprecate unused code
---
java/org/apache/tomcat/jni/Library.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/java/org/apache/tomcat/jni/Library.java
b/java/org/apache/tomcat/jni/Library.java
index 05e02d87dc..ec84b968d2 100644
--- a/java/org/apache/tomcat/jni/Library.java
+++ b/java/org/apache/tomcat/jni/Library.java
@@ -269,7 +269,10 @@ public final class Library {
* configurations), so that it can be loaded by multiple Webapps.
*
* @param filename - absolute path of the native library
+ *
+ * @deprecated Unused. Will be removed in Tomcat 10.1.x
*/
+ @Deprecated
public static void load(String filename){
System.load(filename);
}
@@ -287,7 +290,10 @@ public final class Library {
* configurations), so that it can be loaded by multiple Webapps.
*
* @param libname - the name of the native library
+ *
+ * @deprecated Unused. Will be removed in Tomcat 10.1.x
*/
+ @Deprecated
public static void loadLibrary(String libname){
System.loadLibrary(libname);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]