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

Netscape: Applet can exit premature

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.0
    • deploy
    • None
    • x86
    • generic

      During browser closing, plugin blocks browser's main thread, posts event to Java side to have applet to stop and destroy, also to dispose plugin's embedded frame.

      But that only to guarantee embedded frame to be disposed, not to guarantee applet's stop and destroy methods get fully executed, since during the call to java, it only POSTs event to have applet shutdown. After plugin unblock the browser's main thread, the browser main thread races with Java's applet main thread, and browser's main thread may terminate before java's applet main thread to finish shutdown applet.

            zgu Zhengyu Gu
            zgu Zhengyu Gu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: