-
Bug
-
Resolution: Fixed
-
P2
-
beta, 6u4, 6u10
-
b13
-
generic, x86
-
generic, windows, windows_2003, windows_xp, windows_vista
-
Verified
Programs do not expect to encounter NoClassDefFoundError on system classes. They generally handle it badly, popping up a variety of misleading error messages. JNI code, including much of the JRE's own code, often doesn't bother checking error codes for system classes (which are "known" to be present), causing an outright crash. This happens in the plug-in as well, which crashes in response to failed bundle downloads -- but because it's running in the browser's process, the whole browser dies with it.
Clearly, we cannot rely on arbitrary programs to react properly to missing system classes, or users to understand the bizarre error messages and other problems that can occur when they cancel a bundle download. The right approach is probably to pop up a dialog explaining that the current program will have to be shut down, and then gracefully kill it before it has a chance to display strange error messages or crash. This will pose some special challenges in the plug-in, where we cannot call System.exit() without taking the whole browser out with us.
- duplicates
-
JDK-6640132 Progress bar of component installation get stuck
- Closed
-
JDK-6640413 Bugster application started graying out after couple of minutes
- Closed
-
JDK-6640649 Java Control panel does not come up due to dead lock
- Closed
-
JDK-6640667 When download is canceled in Mozilla browser, the Error message is shown on screen
- Closed
-
JDK-6642079 Download Should stop after click on Cancel button in Addiional Bundle Download Dialog
- Closed
-
JDK-6654663 Browser Crashes when <bundles>/index.html contains wrong entry.
- Closed
-
JDK-6570373 download error handling in java kernel
- Closed