From 9a0d4c81e8c38f454d7bb5cde433a32194d410fb Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 20 Jun 2013 19:51:57 +0200 Subject: DynamicLinker*: Proper Override notation --- src/java/jogamp/common/os/MacOSXDynamicLinkerImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/java/jogamp/common/os/MacOSXDynamicLinkerImpl.java') diff --git a/src/java/jogamp/common/os/MacOSXDynamicLinkerImpl.java b/src/java/jogamp/common/os/MacOSXDynamicLinkerImpl.java index bebddc4..b0b77ce 100644 --- a/src/java/jogamp/common/os/MacOSXDynamicLinkerImpl.java +++ b/src/java/jogamp/common/os/MacOSXDynamicLinkerImpl.java @@ -43,7 +43,7 @@ public final class MacOSXDynamicLinkerImpl extends UnixDynamicLinkerImpl { private static final int RTLD_LOCAL = 0x00004; private static final int RTLD_GLOBAL = 0x00008; - // --- Begin CustomJavaCode .cfg declarations + @Override public final long openLibraryLocal(String pathname, boolean debug) throws SecurityException { // Note we use RTLD_LOCAL visibility to _NOT_ allow this functionality to // be used to pre-resolve dependent libraries of JNI code without @@ -56,6 +56,7 @@ public final class MacOSXDynamicLinkerImpl extends UnixDynamicLinkerImpl { return dlopen(pathname, RTLD_LAZY | RTLD_LOCAL); } + @Override public final long openLibraryGlobal(String pathname, boolean debug) throws SecurityException { // Note we use RTLD_GLOBAL visibility to allow this functionality to // be used to pre-resolve dependent libraries of JNI code without @@ -68,6 +69,7 @@ public final class MacOSXDynamicLinkerImpl extends UnixDynamicLinkerImpl { return dlopen(pathname, RTLD_LAZY | RTLD_GLOBAL); } + @Override public final long lookupSymbolGlobal(String symbolName) { final long addr = dlsym(RTLD_DEFAULT, symbolName); if(DEBUG_LOOKUP) { -- cgit v1.2.3