cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (Jira)" <j...@apache.org>
Subject [jira] [Created] (CAY-2698) EventSubject.getSubject() is not thread safe
Date Tue, 09 Feb 2021 15:41:00 GMT
Nikita Timofeev created CAY-2698:
------------------------------------

             Summary: EventSubject.getSubject() is not thread safe
                 Key: CAY-2698
                 URL: https://issues.apache.org/jira/browse/CAY-2698
             Project: Cayenne
          Issue Type: Bug
          Components: Core Library
    Affects Versions: 4.2.M2, 4.1
            Reporter: Nikita Timofeev
            Assignee: Nikita Timofeev
             Fix For: 4.1.1, 4.2.M3


{{EventSubject.getSubject()}} method uses static Map that is not thread safe to store data
and this could cause a {{ConcurrentModificationException}}.

See this thread for details: https://lists.apache.org/thread.html/r751b3380c2aabded9346cadd0c9743b1134b851c9f8cc6128e55baa3%40%3Cuser.cayenne.apache.org%3E



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message