[jbossts-issues] [JBoss JIRA] (JBTM-2757) ThreadAssociations#add uses getKey but then it overwrites the transactions associated with the thread

Ondra Chaloupka (JIRA) issues at jboss.org
Mon Jun 26 08:04:02 EDT 2017


     [ https://issues.jboss.org/browse/JBTM-2757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ondra Chaloupka reassigned JBTM-2757:
-------------------------------------

    Assignee:     (was: Ondra Chaloupka)


> ThreadAssociations#add uses getKey but then it overwrites the transactions associated with the thread
> -----------------------------------------------------------------------------------------------------
>
>                 Key: JBTM-2757
>                 URL: https://issues.jboss.org/browse/JBTM-2757
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: JTS
>    Affects Versions: 5.3.4.Final
>            Reporter: Ondra Chaloupka
>
> This issue came from Tom's investigation on JBTM-2756 (which came from static code analysis).
> This issue points to the fact that for ThreadAssoction#add [1] tx is used as a getKey but then it overwrites the transactions associated with the thread. This seems to be a bug and need more investigation.
> [1] https://github.com/jbosstm/narayana/blob/master/ArjunaJTS/jts/classes/com/arjuna/ats/jts/extensions/ThreadAssociations.java#L66 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jbossts-issues mailing list