Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-2757

ThreadAssociations#add uses getKey but then it overwrites the transactions associated with the thread

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 5.3.4.Final
    • JTS
    • None

    Description

      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 

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: