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 8ee6741d06 Remove unused code 8ee6741d06 is described below commit 8ee6741d06195e7efbbca4690beb1705a5462e12 Author: Mark Thomas <ma...@apache.org> AuthorDate: Tue May 31 19:39:15 2022 +0100 Remove unused code --- java/org/apache/tomcat/jni/Library.java | 43 --------------------------------- 1 file changed, 43 deletions(-) diff --git a/java/org/apache/tomcat/jni/Library.java b/java/org/apache/tomcat/jni/Library.java index ec84b968d2..3beb0d2562 100644 --- a/java/org/apache/tomcat/jni/Library.java +++ b/java/org/apache/tomcat/jni/Library.java @@ -255,47 +255,4 @@ public final class Library { } return initialize(); } - - /** - * Calls System.load(filename). System.load() associates the - * loaded library with the class loader of the class that called - * the System method. A native library may not be loaded by more - * than one class loader, so calling the System method from a class that - * was loaded by a Webapp class loader will make it impossible for - * other Webapps to load it. - * - * Using this method will load the native library via a shared class - * loader (typically the Common class loader, but may vary in some - * 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); - } - - /** - * Calls System.loadLibrary(libname). System.loadLibrary() associates the - * loaded library with the class loader of the class that called - * the System method. A native library may not be loaded by more - * than one class loader, so calling the System method from a class that - * was loaded by a Webapp class loader will make it impossible for - * other Webapps to load it. - * - * Using this method will load the native library via a shared class - * loader (typically the Common class loader, but may vary in some - * 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