MacNPAPIJavaPlugin incorrectly constructed which sometimes causes Applet not to load

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 7u60, 8u5, 9
    • Component/s: 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

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

                Created:
                Updated:
                Resolved: