JDK-6876653 : Package across multiple Jars in signed applets gives ClassNotFoundException
Type:Bug
Component:deploy
Sub-Component:plugin
Affected Version:6u16
Priority:P3
Status:Resolved
Resolution:Fixed
OS:windows_xp
CPU:x86
Submitted:2009-08-27
Updated:2013-01-10
Resolved:2009-11-06
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.
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
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.
15-10-2009
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