From 8af95c02ba27abfb6ce152be2b970bb3840a7917 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 26 Aug 2012 03:29:58 +0200 Subject: JNILibLoaderBase: Fix NPE in DEBUG mode if null == stripBasenameSuffixes (JOCL) --- src/java/com/jogamp/common/jvm/JNILibLoaderBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/java') diff --git a/src/java/com/jogamp/common/jvm/JNILibLoaderBase.java b/src/java/com/jogamp/common/jvm/JNILibLoaderBase.java index b09a2f1..827b361 100644 --- a/src/java/com/jogamp/common/jvm/JNILibLoaderBase.java +++ b/src/java/com/jogamp/common/jvm/JNILibLoaderBase.java @@ -261,7 +261,7 @@ public class JNILibLoaderBase { */ public static boolean addNativeJarLibs(Class[] classesFromJavaJars, String singleJarMarker, String[] stripBasenameSuffixes) { if(DEBUG) { - System.err.println("JNILibLoaderBase: addNativeJarLibs0(classesFromJavaJars "+Arrays.asList(classesFromJavaJars)+", singleJarMarker "+singleJarMarker+", stripBasenameSuffixes "+Arrays.asList(stripBasenameSuffixes)); + System.err.println("JNILibLoaderBase: addNativeJarLibs0(classesFromJavaJars "+Arrays.asList(classesFromJavaJars)+", singleJarMarker "+singleJarMarker+", stripBasenameSuffixes "+(null!=stripBasenameSuffixes?Arrays.asList(stripBasenameSuffixes):"none")); } boolean ok = false; if(TempJarCache.isInitialized()) { -- cgit v1.2.3