[jbossts-issues] [JBoss JIRA] (JBTM-2284) XID.toString broken: indexing mistake in array
Tom Jenkinson (JIRA)
issues at jboss.org
Wed Nov 12 05:03:30 EST 2014
[ https://issues.jboss.org/browse/JBTM-2284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Jenkinson updated JBTM-2284:
--------------------------------
Fix Version/s: 4.17.24
> XID.toString broken: indexing mistake in array
> ----------------------------------------------
>
> Key: JBTM-2284
> URL: https://issues.jboss.org/browse/JBTM-2284
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Affects Versions: 4.17.15
> Environment: EAP 6.2.4 with JBoss JTS module in version 4.17.15
> Reporter: Christian von Kutzleben
> Assignee: Tom Jenkinson
> Fix For: 4.17.24
>
>
> com.arjuna.ats.internal.jta.xa.XID
>
> public String toString ()
> {
> //...
> stringBuilder.append(", ");
> for (int i = 0; i < bqual_length; i++) {
> stringBuilder.append(gtrid_length+data[i]);
> }
> //...
> }
>
> correct: stringBuilder.append(data[i+gtrid_length]);
> The result is, that the Xid instances logged in log files are corrupted and multiple different Xid share the same String representation, which makes the logging information unusable
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the jbossts-issues
mailing list