cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <>
Subject [jira] [Closed] (CAY-1852) Straighten thread model and synchronization in the Modeler
Date Sat, 20 Jul 2013 09:50:50 GMT


Andrus Adamchik closed CAY-1852.

    Resolution: Fixed

Done. Hopefully this does not result in the Modeler meltdown.

Also fixed a few GUI invocations previously done from threads other than EventDispatchThread.
> Straighten thread model and synchronization in the Modeler
> ----------------------------------------------------------
>                 Key: CAY-1852
>                 URL:
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Modeler
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>            Priority: Minor
>             Fix For: 3.2M2
> Lots of synchronization in the Modeler code points to our earlier misunderstanding of
Swing single-thread GUI update model [1]. We should remove synchronized blocks from the UI
code, and at the same time ensure SwingUtilities.invokeLater is used from other threads when
updating the GUI. Most notably - ProjectWatchdog thread.
> [1]

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message