From 7187046a1ddac65aec195de935df1d5bc9d8e67c Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 18 Sep 2015 11:11:34 +0200 Subject: Fix Android LauncherTempFileCache: Cannot use gluegen-rt dependencies GlueGen'w runtime dependency com.jogamp.common.util.InterruptSource was introduced in commit 1c4e2d3ea379fe6578dfb84e10f22729b71b1ae5 but the launcher loads the same .. --- src/java/jogamp/android/launcher/LauncherTempFileCache.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/java/jogamp') diff --git a/src/java/jogamp/android/launcher/LauncherTempFileCache.java b/src/java/jogamp/android/launcher/LauncherTempFileCache.java index b576ed9..6836dd9 100644 --- a/src/java/jogamp/android/launcher/LauncherTempFileCache.java +++ b/src/java/jogamp/android/launcher/LauncherTempFileCache.java @@ -34,8 +34,6 @@ import java.io.IOException; import java.nio.channels.FileChannel; import java.nio.channels.FileLock; -import com.jogamp.common.util.InterruptSource; - import android.content.Context; public class LauncherTempFileCache { @@ -225,7 +223,7 @@ public class LauncherTempFileCache { // Add shutdown hook to cleanup the OutputStream, FileChannel, // and FileLock for the jlnNNNN.lck and jlnNNNN.lck files. // We do this so that the locks never get garbage-collected. - Runtime.getRuntime().addShutdownHook(new InterruptSource.Thread() { + Runtime.getRuntime().addShutdownHook(new Thread() { /* @Override */ public void run() { // NOTE: we don't really expect that this code will ever @@ -251,7 +249,7 @@ public class LauncherTempFileCache { } // Start a new Reaper thread to do stuff... - final Thread reaperThread = new InterruptSource.Thread() { + final Thread reaperThread = new Thread() { /* @Override */ public void run() { deleteOldTempDirs(); -- cgit v1.2.3