From 137e58ba482e20822ff313716e0d2d9d56587dd9 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 4 May 2012 05:29:27 +0200 Subject: Adapt to GlueGen commit cc76889a6fe96cffb91c9a3aa7934878c0ecd97e: Use ClassLoader to find JNI native libraries --- src/newt/classes/jogamp/newt/NEWTJNILibLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newt') diff --git a/src/newt/classes/jogamp/newt/NEWTJNILibLoader.java b/src/newt/classes/jogamp/newt/NEWTJNILibLoader.java index 78707e7cf..2db9d8d05 100644 --- a/src/newt/classes/jogamp/newt/NEWTJNILibLoader.java +++ b/src/newt/classes/jogamp/newt/NEWTJNILibLoader.java @@ -56,7 +56,7 @@ public class NEWTJNILibLoader extends JNILibLoaderBase { if(TempJarCache.isInitialized() && null == TempJarCache.findLibrary(libName)) { addNativeJarLibs(NEWTJNILibLoader.class, "jogl-all", new String[] { "nativewindow", "newt" } ); } - loadLibrary(libName, false); + loadLibrary(libName, false, NEWTJNILibLoader.class.getClassLoader()); return null; } }); -- cgit v1.2.3