]
Thomas Jenkinson updated JBTM-2867:
-----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
Investigate un-_workList protected access to _work object
---------------------------------------------------------
Key: JBTM-2867
URL:
https://issues.jboss.org/browse/JBTM-2867
Project: JBoss Transaction Manager
Issue Type: Bug
Reporter: Thomas Jenkinson
Assignee: Thomas Jenkinson
Priority: Major
Fix For: 5.next
During investigation of JBTM-2865 it was detected that the _work object can be accessed
outside of the _workList synchronized block. Notably this seems to be a .remove()
operation on it which can mutate the struct and may cause issues.
For example, this looks wrong:
https://github.com/tomjenkinson/narayana/blob/adda493b7bbd030eb405e3ef209...
If
https://github.com/tomjenkinson/narayana/blob/adda493b7bbd030eb405e3ef209...