Top Description Constructors Methods
jdk.internal.loader

public abstract Class NativeLibrary

extends Object
Class Inheritance
Known Direct Subclasses
jdk.internal.loader.RawNativeLibraries.RawNativeLibraryImpl, jdk.internal.loader.NativeLibraries.NativeLibraryImpl

NativeLibrary represents a loaded native library instance.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract long
find(String
the name of the symbol to be found
name
)

Finds the address of the entry of the given name.

pack-priv static native long
findEntry0(long handle, String name)

public final long
lookup(String
the name of the symbol to be found
name
)

Finds the address of the entry of the given name.

public abstract String
name()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

NativeLibraryback to summary
public NativeLibrary()

Method Detail

findback to summary
public abstract long find(String name)

Finds the address of the entry of the given name. Returns 0 if not found.

Parameters
name:String

the name of the symbol to be found

findEntry0back to summary
pack-priv static native long findEntry0(long handle, String name)
lookupback to summary
public final long lookup(String name) throws NoSuchMethodException

Finds the address of the entry of the given name.

Parameters
name:String

the name of the symbol to be found

Exceptions
NoSuchMethodException:
if the named entry is not found.
nameback to summary
public abstract String name()