When an applet is run in debug mode, output in console that a cached version of the applet is being loaded.
A number of people were having problems with applets not updating, this was due to them leaving the cache tag on by mistake, hopefully this should alert them earlier and avoid time being wasted in tracking the issue.
This commit is contained in:
parent
a33207320d
commit
6b0b033162
|
@ -581,6 +581,10 @@ public class AppletLoader extends Applet implements Runnable, AppletStub {
|
||||||
if (latestVersion <= readVersionFile(dir)) {
|
if (latestVersion <= readVersionFile(dir)) {
|
||||||
cacheAvailable = true;
|
cacheAvailable = true;
|
||||||
percentage = 90;
|
percentage = 90;
|
||||||
|
|
||||||
|
if(debugMode) {
|
||||||
|
System.out.println("Loading Cached Applet Version " + latestVersion);
|
||||||
|
}
|
||||||
debug_sleep(2000);
|
debug_sleep(2000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue