[jbossts-issues] [JBoss JIRA] (JBTM-1042) GC: No relationship between generic parameter and method argument (GC_UNRELATED_TYPES)

Tom Jenkinson (JIRA) jira-events at lists.jboss.org
Wed Sep 18 07:49:03 EDT 2013


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

Tom Jenkinson commented on JBTM-1042:
-------------------------------------

It does look like a bug to me, the uidMap in both cases is string -> uid but we are trying to call get with a uid, rather than an id.

It looks like it is used during recovery to work out if there is a particant alive, it will always return false so you will get more than one loaded. I think...
                
> GC: No relationship between generic parameter and method argument (GC_UNRELATED_TYPES)
> --------------------------------------------------------------------------------------
>
>                 Key: JBTM-1042
>                 URL: https://issues.jboss.org/browse/JBTM-1042
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: XTS
>            Reporter: Amos Feng
>            Assignee: Amos Feng
>            Priority: Minor
>             Fix For: 5.0.0.M5
>
>
> 1.XTS/recovery
> org.jboss.jbossts.xts.recovery.participant.at.XTSATRecoveryManagerImple Line 132
> com.arjuna.ats.arjuna.common.Uid is incompatible with expected argument type String in org.jboss.jbossts.xts.recovery.participant.at.XTSATRecoveryManagerImple.isParticipantPresent(Uid)
> 2.XTS/recovery
> org.jboss.jbossts.xts.recovery.participant.ba.XTSBARecoveryManagerImple Line 128
> com.arjuna.ats.arjuna.common.Uid is incompatible with expected argument type String in org.jboss.jbossts.xts.recovery.participant.ba.XTSBARecoveryManagerImple.isParticipantPresent(Uid)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossts-issues mailing list