Nikita Timofeev created CAY-2382:
------------------------------------

             Summary: Lack of synchronization in DataContext serialization
                 Key: CAY-2382
                 URL: https://issues.apache.org/jira/browse/CAY-2382
             Project: Cayenne
          Issue Type: Bug
          Components: Core Library
    Affects Versions: 4.1.M1, 4.0.B2
            Reporter: Nikita Timofeev
            Assignee: Nikita Timofeev
             Fix For: 4.0.B3, 4.1.M2


{{DataContext}} is designed to be thread safe, however there is no 
synchronization in serialization.
This problem shows itself in *4.1.M1* version as 
{{ConcurrentModificationException}} when trying to serialize Context while 
other threads add or delete objects in it. 
In *4.1.M1* underlying data structure was changed, thus revealing this problem. 
But it also affects earlier versions of Cayenne.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to