United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6458742 cannot load the interactive applet from www.map24.com
JDK-6458742 : cannot load the interactive applet from www.map24.com

Details
Type:
Bug
Submit Date:
2006-08-10
Status:
Resolved
Updated Date:
2010-04-04
Project Name:
JDK
Resolved Date:
2006-08-23
Component:
deploy
OS:
windows
Sub-Component:
plugin
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports

Sub Tasks

Description
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.
                                     
2006-08-14
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/
                                     
2006-08-14



Hardware and Software, Engineered to Work Together