RFC: Fixes for some race conditions in the plugin
Omair Majid
omajid at redhat.com
Wed Jun 17 11:38:26 PDT 2009
Deepak Bhole wrote:
> Hi,
>
> Attached patch fixes a bunch of race conditions currently prevalent in
> the plugin. These conditions manifest as a result of the multi stage
> asynch. init process -- init is 2 stage, and between those stages,
> messages like size information and dispose can come through. This patch
> ensures that the various orders are accounted for.
>
> ChangeLog:
> * IcedTeaPlugin.cc: Fix race condition that led to segfault.
> * plugin/icedtea/sun/applet/PluginAppletViewer.java: Fix a host of race
> conditions brought about by the multi stage asynchronous initialization
> design.
> * rt/net/sourceforge/jnlp/NetxPanel.java: Account for case where handler
> may be null due to an error above.
>
Looks good to me!
Cheers,
Omair
More information about the distro-pkg-dev
mailing list