Skip to content
The Jenkins Controller is preparing for shutdown. No new builds can be started.
Unstable

Changes

Summary

  1. Fix TempFileCache/LauncherTempFileCache (regression commit: (details)
Commit bf4d413ea185e857de534913c556f00435ba9f21 by Sven Gothel
Fix TempFileCache/LauncherTempFileCache (regression commit: 1468286bf569a493e4fdb887d5f3732f88c8cec3) 'update' scenario in same JVM instance.

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.
The file was modified src/java/com/jogamp/common/jvm/JNILibLoaderBase.java (diff)
The file was modified src/java/com/jogamp/common/util/IOUtil.java (diff)
The file was modified src/java/com/jogamp/common/util/cache/TempFileCache.java (diff)
The file was modified src/java/jogamp/android/launcher/LauncherTempFileCache.java (diff)
The file was modified src/java/com/jogamp/common/util/cache/TempJarCache.java (diff)