JDK-6891714 : (cl) Fixes for 6830734 needs to properly handle NoClassDefFoundError and ClassFormatError
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang:class_loading
  • Affected Version: 6u18
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-10-14
  • Updated: 2013-11-01
  • Resolved: 2009-10-26
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
Related Reports
Relates :  
Description
The enhancement for classloader with the conditional class verification does not properly handle the cases which NoClassDefFoundError and ClassFormatError is thrown. Thus, when either of these two errors are encountered, it leads to ClassCastException since the current code assumes the thrown object is of RuntimeException type.

Comments
EVALUATION Need to identify these two errors and propagate them up.
14-10-2009