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] [Closed] (CAY-2698) EventSubject.getSubject() is not thread safe
Date Wed, 24 Feb 2021 10:29:00 GMT

     [ 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)

Mime
View raw message