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

Michael Musgrove (Jira) issues at jboss.org
Mon Oct 28 07:08:07 EDT 2019


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

Michael Musgrove updated JBTM-2855:
-----------------------------------
    Fix Version/s: 5.next
                       (was: 5.10.0.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.13.8#713008)


More information about the jbossts-issues mailing list