classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] FYI: BoxLayout thread-safe


From: David Daney
Subject: Re: [cp-patches] FYI: BoxLayout thread-safe
Date: Mon, 24 Oct 2005 08:55:35 -0700
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc3 (X11/20050929)

Roman Kennke wrote:
Hi,

I made the BoxLayout class thread-safe. I could find no better way to
protect the BoxLayout inner state from getting inconsistent when
multiple threads access this class like pointed out in Bug#24359.


Isn't manipulation in multiple threads against the law in swing?

If we do this, wouldn't it logically follow that we should make all of swing reentrant/thread-safe?

Perhaps a better approach would be to fix the calling code.

David Daney.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]