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.



_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to