AppletLoader: use the tmp directory on Windows to store cache.

This commit is contained in:
kappa1 2010-10-08 20:57:23 +00:00
parent a0ee569434
commit 8d37d1bdee
1 changed files with 1 additions and 1 deletions

View File

@ -784,7 +784,7 @@ public class AppletLoader extends Applet implements Runnable, AppletStub {
protected String getCacheDir() {
String cacheDir = System.getProperty("deployment.user.cachedir");
if (cacheDir == null) {
if (cacheDir == null || System.getProperty("os.name").startsWith("Win")) {
cacheDir = System.getProperty("java.io.tmpdir");
}