Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8043230

MacNPAPIJavaPlugin incorrectly constructed which sometimes causes Applet not to load

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 7u60, 8u5, 9
    • deploy
    • None
    • b22
    • os_x
    • Not verified

        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

              anashaty Anton Nashatyrev (Inactive)
              anashaty Anton Nashatyrev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: