diff options
-rw-r--r-- | src/java/com/jogamp/common/jvm/JNILibLoaderBase.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/java/com/jogamp/common/jvm/JNILibLoaderBase.java b/src/java/com/jogamp/common/jvm/JNILibLoaderBase.java index 5106a27..e845190 100644 --- a/src/java/com/jogamp/common/jvm/JNILibLoaderBase.java +++ b/src/java/com/jogamp/common/jvm/JNILibLoaderBase.java @@ -304,9 +304,8 @@ public class JNILibLoaderBase { */ public static boolean addNativeJarLibs(Class<?>[] classesFromJavaJars, String singleJarMarker) { - final StringBuilder msg = new StringBuilder(); - if(DEBUG) { + final StringBuilder msg = new StringBuilder(); msg.append("JNILibLoaderBase: addNativeJarLibs(\n"); msg.append(" classesFromJavaJars = ").append(Arrays.asList(classesFromJavaJars)).append("\n"); msg.append(" singleJarMarker = ").append(singleJarMarker).append("\n"); @@ -316,14 +315,14 @@ public class JNILibLoaderBase { boolean ok = false; if (TempJarCache.isInitialized()) { - ok = addNativeJarLibsWhenInitialized(classesFromJavaJars, singleJarMarker, msg); + ok = addNativeJarLibsWhenInitialized(classesFromJavaJars, singleJarMarker); } else if(DEBUG) { System.err.println("JNILibLoaderBase: addNativeJarLibs0: disabled due to uninitialized TempJarCache"); } return ok; } - private static boolean addNativeJarLibsWhenInitialized(Class<?>[] classesFromJavaJars, String singleJarMarker, final StringBuilder msg) { + private static boolean addNativeJarLibsWhenInitialized(Class<?>[] classesFromJavaJars, String singleJarMarker) { boolean ok; int count = 0; try { |