JDK-2135668 : IE browser hangs when multiple applets are reloaded several times
  • Type: Backport
  • Backport of: JDK-6370565
  • Component: deploy
  • Sub-Component: plugin
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2006-03-10
  • Updated: 2011-02-28
  • Resolved: 2006-05-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.2_12Fixed
Comments
EVALUATION There is a racing condition in plugin's diposing applets. AppletViewer starts a new thread to stop/destroy/quit applet. The thread disposes applet's threadgroup including the applet's Event Dispatcher Thread (EDT) The main thread is waiting for the embeded frame's destroy() to complete. The embedded frame calls windowClosing on the applet's EDT. The racing between the two threads (disposing applet's thread group and windowClosing on the EDT) can cause browser hang when the EDT is stopped before the windowClosing is called. To address this problem, I make the sendEvent(APPLET_QUIT) call (this call is to dispose the applet's threadgroup) to wait for signals from embedded frame.destroy().
13-03-2006