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

Consider using assertions to validate locking assumptions

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Optional
    • None
    • 5.5.2.Final
    • Transaction Core
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhn-engineering-mmusgrov Michael Musgrove
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: