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

Consider using assertions to validate locking assumptions

    XMLWordPrintable

Details

    • Enhancement
    • Status: Open (View Workflow)
    • Optional
    • Resolution: Unresolved
    • 5.5.2.Final
    • None
    • 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

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

              Dates

                Created:
                Updated: