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.

To download the current JDK release, click here.
JDK 6
6u18 b04Fixed
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
SUGGESTED FIX http://sa.sfbay.sun.com/projects/deployment_data/6u18/6876653.0
15-10-2009

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
27-08-2009