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

XATerminatorImple#recover could return an empty array in preference to null

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Rejected
    • Affects Version/s: 5.3.2.Final
    • Fix Version/s: None
    • Component/s: JCA
    • Labels:
      None

      Description

      The javadoc (http://docs.oracle.com/javaee/7/api/javax/resource/spi/XATerminator.html#recover-int-) for the XATerminator recover
      method says the resource manager should return zero or more XIDs or throw an exception but our implementation of it returns null if there are no in doubt Xids.

        Attachments

          Activity

            People

            Assignee:
            mmusgrov Michael Musgrove
            Reporter:
            mmusgrov Michael Musgrove
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: