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.
6u18 b04Fixed
Application generates NoClassFoundError exception if run with Java Console options "Keep Temporary File" turned off (unchecked), *and* "Enable next-gen plugin" turn on (checked).

SUGGESTED FIX http://sa.sfbay.sun.com/projects/deployment_data/6u18/6876653.0

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.

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