You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (Jira)" <ji...@apache.org> on 2021/02/24 10:29:00 UTC

[jira] [Closed] (CAY-2698) EventSubject.getSubject() is not thread safe

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

Nikita Timofeev closed CAY-2698.
--------------------------------
    Resolution: Fixed

* *4.2* https://github.com/apache/cayenne/commit/71a9ea9c38d3dd8cff65780a579cf99a760da663
* *4.1* https://github.com/apache/cayenne/commit/8a5498880badf6f24b8e367291e8e424a76346d1

> 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.1, 4.2.M2
>            Reporter: Nikita Timofeev
>            Assignee: Nikita Timofeev
>            Priority: Major
>             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)