-
Bug
-
Resolution: Fixed
-
P2
-
beta, 6u10
-
b12
-
generic, x86
-
generic, windows_2000, windows_2003, windows_xp
-
Not verified
6643773 highlighted the fact that if the new plug-in's low level bootstrapping code fails, the current behavior is very poor: it crashes the web browser. Asserts are in place for debug builds, but these are not present in product builds, so we will typically dereference a NULL pointer in C++ code and crash.
Error checking should be added to the product builds so that the only user-visible side effect is perhaps a dialog box and a failure to render the applet. Specifically, explicit error checking needs to be added for at least the following situations:
- The JVM fails to initialize, and therefore JavaVM_GetJNIEnv() returns NULL early on in the new plug-in's code.
- Initialization of the JNI method IDs for the IExplorerPlugin, MozillaPlugin and AbstractPlugin Java classes fails for any reason.
- Instantiation of the Java-side IExplorerPlugin or MozillaPlugin objects fails.
Creation of for example our ActiveX control should simply return with an error, possibly raising a message box dialog. It should not crash.
Error checking should be added to the product builds so that the only user-visible side effect is perhaps a dialog box and a failure to render the applet. Specifically, explicit error checking needs to be added for at least the following situations:
- The JVM fails to initialize, and therefore JavaVM_GetJNIEnv() returns NULL early on in the new plug-in's code.
- Initialization of the JNI method IDs for the IExplorerPlugin, MozillaPlugin and AbstractPlugin Java classes fails for any reason.
- Instantiation of the Java-side IExplorerPlugin or MozillaPlugin objects fails.
Creation of for example our ActiveX control should simply return with an error, possibly raising a message box dialog. It should not crash.
- duplicates
-
JDK-6639474 Multiple clicks on Cancel button while downloading Additional components freezes/crashes the browser
-
- Closed
-
- relates to
-
JDK-6643773 New plug-in is crashing IE when used with Kernel JRE
-
- Closed
-