28 abstract class UnixDynamicLinkerImpl
extends DynamicLinkerImpl {
37 protected static native
int dlclose(
long arg0);
40 protected static native java.lang.String dlerror();
43 protected static native
long dlopen(java.lang.String arg0,
int arg1);
46 protected static native
long dlsym(
long arg0, java.lang.String arg1);
49 protected final long lookupSymbolLocalImpl(
final long libraryHandle,
final String symbolName)
throws SecurityException {
50 return 0 != libraryHandle ? dlsym(libraryHandle, symbolName) : 0;
54 protected final void closeLibraryImpl(
final long libraryHandle)
throws SecurityException {
55 if( 0 != libraryHandle ) {
56 dlclose(libraryHandle);
61 public final String getLastError() {