summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/os/NativeLibrary.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-07-22 06:40:11 +0200
committerSven Gothel <[email protected]>2011-07-22 06:40:11 +0200
commitdac1bac087ac94c596dcb74185d504712069b0a7 (patch)
treedd71da3ede889e652ad5ad3e1382de871361d89d /src/java/com/jogamp/common/os/NativeLibrary.java
parentf0ed680aa5d48cd8086beccc9328b4a1b5a508d8 (diff)
Fix regression (commit f733203dfbd034a6b1aa3eb2cd616437c982c435): Init of DEBUG and DEBUG_LOOKUP was removed, re-added.
Diffstat (limited to 'src/java/com/jogamp/common/os/NativeLibrary.java')
-rwxr-xr-xsrc/java/com/jogamp/common/os/NativeLibrary.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/java/com/jogamp/common/os/NativeLibrary.java b/src/java/com/jogamp/common/os/NativeLibrary.java
index 30075fd..47c73e6 100755
--- a/src/java/com/jogamp/common/os/NativeLibrary.java
+++ b/src/java/com/jogamp/common/os/NativeLibrary.java
@@ -40,6 +40,7 @@
package com.jogamp.common.os;
import com.jogamp.gluegen.runtime.NativeLibLoader;
+import jogamp.common.Debug;
import java.io.*;
import java.lang.reflect.*;
import java.security.*;
@@ -59,8 +60,8 @@ import java.util.*;
supporting code needed in the generated library. */
public class NativeLibrary implements DynamicLookupHelper {
- protected static boolean DEBUG;
- protected static boolean DEBUG_LOOKUP;
+ protected static final boolean DEBUG = Debug.debug("NativeLibrary");
+ protected static final boolean DEBUG_LOOKUP = Debug.debug("NativeLibrary.Lookup");
private static DynamicLinker dynLink;
private static String[] prefixes;
private static String[] suffixes;