United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6876653 : Package across multiple Jars in signed applets gives ClassNotFoundException

Details
Type:
Bug
Submit Date:
2009-08-27
Status:
Resolved
Updated Date:
2013-01-10
Project Name:
JDK
Resolved Date:
2009-11-06
Component:
deploy
OS:
windows_xp
Sub-Component:
plugin
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u16
Fixed Versions:
6u18 (b04)

Related Reports

Sub Tasks

Description
Application generates NoClassFoundError exception if run with Java Console options "Keep Temporary File" turned off (unchecked), *and* "Enable next-gen plugin" turn on (checked).
updated

                                    

Comments
EVALUATION

The reason of the bug was the fact we were trying to use certificates/signers without reading the 
resource entry fully. It worked for cache-enabled case as everything was read when 
loading from/saving to cache.

Part of the change caused this problem is not needed anymore and can be removed. 
We should also use WrapResource that will not read bytes more than once. 
Therefore it safe to "read" them each time if someone asks for signers/certificates without any performance impact.
                                     
2009-10-15
SUGGESTED FIX

http://sa.sfbay.sun.com/projects/deployment_data/6u18/6876653.0
                                     
2009-10-15
WORK AROUND

Use any of the following three combinations in JConsole:

"Keep Temp Files"	off / "Next-gen Plugin"	off
"Keep Temp Files"	on  / "Next-gen Plugin" on
"Keep Temp Files"	on  / "Next=gen Plugin" off
                                     
2009-08-27



Hardware and Software, Engineered to Work Together