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

MacNPAPIJavaPlugin incorrectly constructed which sometimes causes Applet not to load

    XMLWordPrintable

Details

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

    Backports

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: