diff options
author | Sven Gothel <[email protected]> | 2011-09-28 12:56:54 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-09-28 12:56:54 +0200 |
commit | 110235691f8fda62b61256893d74f952dc596223 (patch) | |
tree | 2f4913afb29230445755b7ab9b8d0b182ccbc5a6 /src/java | |
parent | 3a323e52f92985f28ed44bf78557d5dfc38ab62e (diff) |
Don't default to USE_TEMP_JAR_CACHE:=true on Android
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/com/jogamp/common/os/Platform.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/java/com/jogamp/common/os/Platform.java b/src/java/com/jogamp/common/os/Platform.java index 6c582fb..8d93991 100644 --- a/src/java/com/jogamp/common/os/Platform.java +++ b/src/java/com/jogamp/common/os/Platform.java @@ -52,7 +52,8 @@ import jogamp.common.os.MachineDescriptionRuntime; public class Platform { /** - * System property: 'jogamp.gluegen.UseTempJarCache', defaults to true + * System property: 'jogamp.gluegen.UseTempJarCache', + * defaults to true if {@link #OS_TYPE} is not {@link OSType#ANDROID}. */ public static final boolean USE_TEMP_JAR_CACHE; private static final String useTempJarCachePropName = "jogamp.gluegen.UseTempJarCache"; @@ -197,7 +198,7 @@ public class Platform { os_and_arch = getOSAndArch(OS_TYPE, CPU_ARCH); - USE_TEMP_JAR_CACHE = + USE_TEMP_JAR_CACHE = OS_TYPE != OSType.ANDROID && AccessController.doPrivileged(new PrivilegedAction<Boolean>() { public Boolean run() { return Boolean.valueOf(Debug.getBooleanProperty(true, useTempJarCachePropName, true, AccessController.getContext())); |