[jbossts-issues] [JBoss JIRA] (JBTM-2855) Consider using assertions to validate locking assumptions

Thomas Jenkinson (Jira) issues at jboss.org
Fri Aug 23 11:54:04 EDT 2019


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

Thomas Jenkinson updated JBTM-2855:
-----------------------------------
    Fix Version/s: 5.next
                       (was: 5.9.7.Final)


> Consider using assertions to validate locking assumptions
> ---------------------------------------------------------
>
>                 Key: JBTM-2855
>                 URL: https://issues.jboss.org/browse/JBTM-2855
>             Project: JBoss Transaction Manager
>          Issue Type: Enhancement
>          Components: Transaction Core
>    Affects Versions: 5.5.2.Final
>            Reporter: Michael Musgrove
>            Assignee: Michael Musgrove
>            Priority: Optional
>             Fix For: 5.next
>
>
> Some methods in BasicAction assume that other methods will acquire monitors before calling them; it would aid both maintenance/readability and testing if we such methods have assert Thread.holdsLock(this); at their beginning point.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jbossts-issues mailing list