cayenne-commits mailing list archives

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

     [ https://issues.apache.org/jira/browse/CAY-1852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

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: https://issues.apache.org/jira/browse/CAY-1852
>             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] http://docs.oracle.com/javase/tutorial/uiswing/concurrency/dispatch.html

--
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: http://www.atlassian.com/software/jira

Mime
View raw message