JDK-7096913 : Race condition could cause applet status callback not invoked
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 7,8
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,windows
  • CPU: generic
  • Submitted: 2011-09-30
  • Updated: 2013-09-12
  • Resolved: 2011-12-19
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.
7u4Fixed 8 b18Fixed
When make use of applet status callback, race condition could cause the callback not invoked as callback could be set after the status already set to desired value.

What is expected is that, when set the callback first time, if applet status meet the critetia, the callback should be invoked. Afterwards, callback should be invoked if the applet status changes.

EVALUATION We should make sure the callback is invoked if state matches when setting it, in this way, we don't need to worry about race condition and developer can always get result expected.