-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
01
-
x86
-
windows_nt
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2051812 | 1.4.1 | Devananda Jayaraman | P2 | Resolved | Fixed | hopper |
Kronos application works with 1.3.1_02, but fails with
1.4 using the classloader switch.
Here is the classloader dump from the plugin's console:
=========
// After loading our first applet (QuickFind)
Dump classloader list ...
codebase=http://webalpha/WFC/lib/, key=http://webalpha/WFC/lib/,
zombie=false, cache=true, refcount=1, info=sun.plugin.ClassLoaderInfo@943dc4
Done.
...
Attempt to launch:
http://webalpha/wfc/timecard?la=quick&st=1013729431039&pid=106&tf=6&hf=-1
...
// After loading our second applet (Timecard) which fails
// because the previous classloader got dumped
Dump classloader list ...
codebase=http://webalpha/WFC/lib/, key=http://webalpha/WFC/lib/,
zombie=false, cache=true, refcount=1, info=sun.plugin.ClassLoaderInfo@caf0ed
Done.
=========
Here is a portion of thet jsp file that creates our applet's HTML. The
classloader-policy is there.
<OBJECT classid="<%= appletCLSID %>"
width="<%= appletWidth %>"
height="<%= appletHeight %>"
align="center"
codebase="<%= objectTagCodeBase %>">
<PARAM NAME="code" VALUE="<%= appletClassName %>">
<PARAM NAME="codebase" VALUE="<%= appletJarURL %>">
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
<%= appletCacheTags.toString() %>
<PARAM NAME="scriptable" VALUE="false">
<PARAM NAME="mayscript" VALUE="true">
<PARAM NAME="classloader-policy" VALUE="classic">
<PARAM NAME="kronos_params" VALUE="<%= appletParameters %>">
</OBJECT>
- backported by
-
JDK-2051812 New jar caching code in 1.4 breaks existing applets (Regression)
- Resolved