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] [Created] (CAY-1852) Straighten thread model and synchronization in the Modeler
Date Sat, 20 Jul 2013 08:32:49 GMT
Andrus Adamchik created CAY-1852:
------------------------------------

             Summary: 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