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

Michael Musgrove (JIRA) issues at jboss.org
Thu Feb 23 10:52:00 EST 2017


Michael Musgrove created JBTM-2855:
--------------------------------------

             Summary: 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.later


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.2.3#72005)


More information about the jbossts-issues mailing list