[jbossts-issues] [JBoss JIRA] (JBTM-2656) XATerminatorImple#recover should return an empty array in preference to null

Tom Jenkinson (JIRA) issues at jboss.org
Thu Apr 21 12:23:00 EDT 2016


    [ https://issues.jboss.org/browse/JBTM-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195364#comment-13195364 ] 

Tom Jenkinson commented on JBTM-2656:
-------------------------------------

I removed the steps to reproduce as it seemed more like a description of the problem and the description itself was blank - hope you don't mind.

> XATerminatorImple#recover should return an empty array in preference to null
> ----------------------------------------------------------------------------
>
>                 Key: JBTM-2656
>                 URL: https://issues.jboss.org/browse/JBTM-2656
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: JCA
>    Affects Versions: 5.3.2.Final
>            Reporter: Michael Musgrove
>            Assignee: Michael Musgrove
>             Fix For: 5.next
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbossts-issues mailing list