jdk/src/share/classes/java/lang/ClassLoader.java
/**
* Returns the absolute path name of a native library. The VM invokes this
* method to locate the native libraries that belong to classes loaded with
* this class loader. If this method returns <tt>null</tt>, the VM
* searches the library along the path specified as the
* "<tt>java.library.path</tt>" property. </p>
*
* @param libname
* The library name
*
* @return The absolute path of the native library
*
* @see System#loadLibrary(String)
* @see System#mapLibraryName(String)
*
* @since 1.2
*/
protected String findLibrary(String libname) {
{- -------------------------------------------
(1) デフォルトでは null を返すだけ.
(各 ClassLoader のサブクラスがこれをオーバーライドすればここからロードされるようになる.
null のままなら java.library.path が示す位置からロードされる.)
---------------------------------------- -}
return null;
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.