summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/os
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/os
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/os')
-rw-r--r--src/java/com/jogamp/common/os/Platform.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/java/com/jogamp/common/os/Platform.java b/src/java/com/jogamp/common/os/Platform.java
index f4bd6c1..af795d1 100644
--- a/src/java/com/jogamp/common/os/Platform.java
+++ b/src/java/com/jogamp/common/os/Platform.java
@@ -309,8 +309,7 @@ public class Platform {
final URL jarUrlRoot = JarUtil.getURLDirname(
JarUtil.getJarSubURL(Platform.class.getName(), cl) );
final URL nativeJarURL = JarUtil.getJarFileURL(jarUrlRoot, nativeJarName);
- final JarFile nativeJar = JarUtil.getJarFile(nativeJarURL, cl);
- TempJarCache.bootstrapNativeLib(Platform.class, libBaseName, nativeJar);
+ TempJarCache.bootstrapNativeLib(Platform.class, libBaseName, nativeJarURL, cl);
} catch (IOException ioe) {
ioe.printStackTrace();
}