The bugs.java.com site will be undergoing maintenance on 15th Dec 2017 21:00 PST to 16th Dec 2017 1:00 AM PST.
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 Availabitlity Release.
This webrev also contains the following fixes:
1) FF crash crash on reload which the download FX dialog is being displayed
The cause is that the mNPP became invalid inside NotifyInstallStatus when
Fix is to set the mNPP to NULL in ~ScriptablePluginObject() within a critical section. In NotifyInstallStatus, null check mNPP inside the same critical section and call pluginThreadAsyncCall if it isn't null.
2) Forgot to report status upon cancel on download.
Fixed in JREInstall.install() and JavaFX.install(). There's no issue with the FX download thread. The onOk and onCancel methods in CDownloadDialog are synchronized with the download thread.
3) Missing install status sometimes.
The problem is due to synchronization issue between pluginThreadCallback and NotifyInstallStatus in ScriptablePluginObject. NPN_InvokeDefault fails sometimes if NotifyInstallStatus returns too soon. By the time pluginThreadCallback is invoked, the NPObject may become invalid if the destructor of MozInstallCallback has been invoked.
A fix is to add a handle to synchronize the pluginThreadCallback and NotifyInstallStatus methods. NotifyInstallStatus will wait for pluginThreadCallback to finish and then release the allocated resources including the handle.