JDK-6458742 : cannot load the interactive applet from www.map24.com
Type:Bug
Component:deploy
Sub-Component:plugin
Affected Version:6
Priority:P2
Status:Resolved
Resolution:Fixed
OS:windows
CPU:x86
Submitted:2006-08-10
Updated:2010-04-04
Resolved:2006-08-23
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
Go to www.map24.com, click on interactive.
The applet cannot be loaded.
Same for both cache enabled and no cache case.
Problem exists since mustang b32.
Comments
EVALUATION
in the map24 page, it firsts uses a applet to preload a versioned jar resources, then as you click on the interactive button, it tries to load the actual map applet.
Since both the applet is from the same codebase, the same classloader should be used, so the second applet (map) startup will be fast because it will reuse the classloader from cache. however, due to a bug in JarCacheUtil, we will mark the first classloader as not-cachable. so now when you click on the interactive button, a new class loader of the same codebase is created and the applet is using it to load the map applet. however this classloader does not contain the versioned jar resoruces that is already loaded by the first applet, and causes the applet to wait forever.
14-08-2006
SUGGESTED FIX
In JarCacheUtil, we should only mark loader as not-cachable if we cannot find the correct versioned jar resources in the cache.
http://web-east.east/deployment/www/webrevs/ngthomas/6458742/webrev/