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 79c77e31da Deprecate unused code 79c77e31da is described below commit 79c77e31da5ee0860947ce881e719c2934ba378f Author: Mark Thomas <ma...@apache.org> 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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org