aboutsummaryrefslogtreecommitdiffstats
path: root/make/dynlink-unix-CustomJavaCode.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2009-06-15 22:39:33 +0000
committerKenneth Russel <[email protected]>2009-06-15 22:39:33 +0000
commit90bcb596e88898f807b39c9e7c85485ab8c006b6 (patch)
treecd8364c36dc0035fde6660808a803d28e69b3fbc /make/dynlink-unix-CustomJavaCode.java
parent9e979e542165358b5c3684078e193f9c706f1eab (diff)
Deleted obsolete source code in preparation for copying JOGL_2_SANDBOX
on to trunk git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@146 a78bb65f-1512-4460-ba86-f6dc96a7bf27
Diffstat (limited to 'make/dynlink-unix-CustomJavaCode.java')
-rwxr-xr-xmake/dynlink-unix-CustomJavaCode.java18
1 files changed, 0 insertions, 18 deletions
diff --git a/make/dynlink-unix-CustomJavaCode.java b/make/dynlink-unix-CustomJavaCode.java
deleted file mode 100755
index 5d10edf..0000000
--- a/make/dynlink-unix-CustomJavaCode.java
+++ /dev/null
@@ -1,18 +0,0 @@
-public long openLibrary(String pathname) {
- // Note we use RTLD_GLOBAL visibility to allow this functionality to
- // be used to pre-resolve dependent libraries of JNI code without
- // requiring that all references to symbols in those libraries be
- // looked up dynamically via the ProcAddressTable mechanism; in
- // other words, one can actually link against the library instead of
- // having to dlsym all entry points. System.loadLibrary() uses
- // RTLD_LOCAL visibility so can't be used for this purpose.
- return dlopen(pathname, RTLD_LAZY | RTLD_GLOBAL);
-}
-
-public long lookupSymbol(long libraryHandle, String symbolName) {
- return dlsym(libraryHandle, symbolName);
-}
-
-public void closeLibrary(long libraryHandle) {
- dlclose(libraryHandle);
-}