| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Class | |
| pack-priv final Set |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public NativeLibrary | |
| public NativeLibrary | |
| private static native boolean | |
| public static RawNativeLibraries | newInstance(MethodHandles.
Creates a RawNativeLibraries instance that has no relationship with any class loaders and disabled auto unloading. |
| public void | |
| private static native void |
| caller | back to summary |
|---|---|
| pack-priv final Class<?> caller | |
| libraries | back to summary |
|---|---|
| pack-priv final Set<RawNativeLibraries. | |
| RawNativeLibraries | back to summary |
|---|---|
| private RawNativeLibraries(MethodHandles. | |
| load | back to summary |
|---|---|
| public NativeLibrary load(Path path) | |
| load | back to summary |
|---|---|
| public NativeLibrary load(String pathname) Load a native library of the given pathname, which is platform-specific. Returns null if it fails to load the given pathname. If the given pathname does not contain a name-separator character, for example on Unix a slash character, the library search strategy is system-dependent for example on Unix, see dlopen. API Note The RawNativeLibraries libs = RawNativeLibraries.newInstance(MethodHandles.lookup());
NativeLibrary lib = libs.load(System.mapLibraryName("blas"));
#unload must be called on all the
NativeLibrary instances that load it.
| |
| load0 | back to summary |
|---|---|
| private static native boolean load0(RawNativeLibraries. | |
| newInstance | back to summary |
|---|---|
| public static RawNativeLibraries newInstance(MethodHandles. Creates a RawNativeLibraries instance that has no relationship with any class loaders and disabled auto unloading. This static factory method is restricted for JDK trusted class use. | |
| unload | back to summary |
|---|---|
| public void unload(NativeLibrary lib) | |
| unload0 | back to summary |
|---|---|
| private static native void unload0(String name, long handle) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv long | |
| pack-priv final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public long | find(String name)
Implements abstract jdk. Finds the address of the entry of the given name. |
| public String | |
| pack-priv boolean |
| handle | back to summary |
|---|---|
| pack-priv long handle | |
| name | back to summary |
|---|---|
| pack-priv final String name | |
| RawNativeLibraryImpl | back to summary |
|---|---|
| pack-priv RawNativeLibraryImpl(String name) | |
| close | back to summary |
|---|---|
| pack-priv void close() | |
| find | back to summary |
|---|---|
| public long find(String name) Implements abstract jdk. Doc from jdk. Finds the address of the entry of the given name. Returns 0 if not found.
| |
| name | back to summary |
|---|---|
| public String name() Implements abstract jdk.
| |
| open | back to summary |
|---|---|
| pack-priv boolean open() | |