This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new 1b961e7ece Deprecate unused code
1b961e7ece is described below
commit 1b961e7ece6a73fe1d7dd85e80a1fbbc49b2279e
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 f6199a6534..d82a752c1c 100644
--- a/java/org/apache/tomcat/jni/Library.java
+++ b/java/org/apache/tomcat/jni/Library.java
@@ -237,7 +237,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);
}
@@ -255,7 +258,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]