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

MacNPAPIJavaPlugin incorrectly constructed which sometimes causes Applet not to load

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 7u60, 8u5, 9
    • Fix Version/s: 9
    • Component/s: deploy
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b22
    • OS:
      os_x
    • Verification:
      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

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

                  Dates

                  Created:
                  Updated:
                  Resolved: