diff options
author | Sven Gothel <[email protected]> | 2012-06-20 03:09:50 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-06-20 03:09:50 +0200 |
commit | bf4d413ea185e857de534913c556f00435ba9f21 (patch) | |
tree | 3770b9b436d64c11ad4b77c80ca680204f98da26 /src/java/com/jogamp/common/nio/Buffers.java | |
parent | 05024570dbf5fce08fa8ff081cb696f0fc4b7f95 (diff) |
Fix TempFileCache/LauncherTempFileCache (regression commit: 1468286bf569a493e4fdb887d5f3732f88c8cec3) 'update' scenario in same JVM instance.v2.0-rc9
TempFileCache/LauncherTempFileCache were using the system property
'jnlp.jogamp.tmp.cache.root', if set.
However, in case one JVM launched an old GlueGen (Applet)
and then launching a new GlueGen (Applet) w/ a new tmpDir location,
the property is still set but the tmpRootDir location does not exist.
This patch tolerates this situation and cont. setting a new tmpRootDir.
Example:
JVM1.GlueGen1 tmpDir: /tmp/, tmpRootDir: /tmp/jogamp.tmp.cache_000000/
JVM1.GlueGen2 tmpDir: /tmp/jogamp_0000/, tmpRootDir: /tmp/jogamp_0000/file_cache/
Misc:
- IOUtil: Always use 'jogamp_xxxx' as the sys-temp subfolder for tmpDir
- JNILibLoaderBase: Remove unised import
- TempJarCache.validateCertificates(): Add OK DEBUG output.
Diffstat (limited to 'src/java/com/jogamp/common/nio/Buffers.java')
0 files changed, 0 insertions, 0 deletions