RFC: Fixes for some race conditions in the plugin

Deepak Bhole dbhole at redhat.com
Wed Jun 17 11:48:23 PDT 2009


* Omair Majid <omajid at redhat.com> [2009-06-17 14:38]:
> 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!
>

Thanks! Committed:

http://icedtea.classpath.org/hg/icedtea6/rev/d044933640b4

Deepak

> Cheers,
> Omair



More information about the distro-pkg-dev mailing list