JDK-8043230 : MacNPAPIJavaPlugin incorrectly constructed which sometimes causes Applet not to load
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 7u60,8u5,9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • Submitted: 2014-05-15
  • Updated: 2015-01-21
  • Resolved: 2014-06-19
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 7 JDK 8 JDK 9
7u76Fixed 8u40Fixed 9 b22Fixed
Related Reports
Blocks :  
Description
In the NPAPIJavaPlugin::NPAPIJavaPlugin constructor we are creating a PluginRunner instance to which the this* reference is passed (). At the end of the constructor the PluginRunner is started and the Jpi_PluginEvent_Init is pushed to the PluginRunner. It seems that sometimes PluginRunner starts working on its thread with non-completely constructed class instance. Normally this* instance shouldn't be published from constructor to another thread. 

For more details see JDK-8021383