summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/jvm/JNILibLoaderBase.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-12-01 20:18:27 +0100
committerSven Gothel <[email protected]>2011-12-01 20:18:27 +0100
commit2e80e7e60a48d3121feb20a237df304b2bf834d4 (patch)
tree6f3940e0207821aa3cf39505c2d719b06d7f6ac6 /src/java/com/jogamp/common/jvm/JNILibLoaderBase.java
parent50084db95e9dfc842a64f11db6ce8014a54b2057 (diff)
TempJarCache/JNILibLoaderBase: Identify the Jar files by their URL within our lifecycle. JarFile's hash almost always differs.
Diffstat (limited to 'src/java/com/jogamp/common/jvm/JNILibLoaderBase.java')
-rw-r--r--src/java/com/jogamp/common/jvm/JNILibLoaderBase.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/java/com/jogamp/common/jvm/JNILibLoaderBase.java b/src/java/com/jogamp/common/jvm/JNILibLoaderBase.java
index c0addfc..a2bb859 100644
--- a/src/java/com/jogamp/common/jvm/JNILibLoaderBase.java
+++ b/src/java/com/jogamp/common/jvm/JNILibLoaderBase.java
@@ -159,11 +159,7 @@ public class JNILibLoaderBase {
if(DEBUG) {
System.err.println("JNILibLoaderBase: addNativeJarLibs: "+nativeJarBaseName+": nativeJarURL "+nativeJarURL);
}
- JarFile nativeJar = JarUtil.getJarFile(nativeJarURL, cl);
- if(DEBUG) {
- System.err.println("JNILibLoaderBase: addNativeJarLibs: "+nativeJarBaseName+": nativeJar "+nativeJar.getName());
- }
- TempJarCache.addNativeLibs(classFromJavaJar, nativeJar);
+ TempJarCache.addNativeLibs(classFromJavaJar, nativeJarURL, cl);
return true;
} catch (IOException ioe) {
ioe.printStackTrace();