AppletLoader: use the tmp directory on Windows to store cache.
This commit is contained in:
parent
a0ee569434
commit
8d37d1bdee
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue