From dac1bac087ac94c596dcb74185d504712069b0a7 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 22 Jul 2011 06:40:11 +0200 Subject: Fix regression (commit f733203dfbd034a6b1aa3eb2cd616437c982c435): Init of DEBUG and DEBUG_LOOKUP was removed, re-added. --- src/java/com/jogamp/common/os/NativeLibrary.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/java/com/jogamp/common/os') 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; -- cgit v1.2.3