You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org> on 2008/04/16 10:28:26 UTC
[jira] Resolved: (QPID-899) [Java Common] Bug in AMQShortString on
tokenized substrings
[ https://issues.apache.org/jira/browse/QPID-899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Godfrey resolved QPID-899.
------------------------------
Resolution: Fixed
Applied patch onto M2.1 9soon to be M2.x) branch as revision 648614
> [Java Common] Bug in AMQShortString on tokenized substrings
> -----------------------------------------------------------
>
> Key: QPID-899
> URL: https://issues.apache.org/jira/browse/QPID-899
> Project: Qpid
> Issue Type: Bug
> Components: Java Common
> Affects Versions: M2.1
> Reporter: Rob Godfrey
> Assignee: Rob Godfrey
> Attachments: QPID-899.patch
>
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> the tokenizer on AMQShortString creates substrings backed by the same array. Unfortunately some methods on AMQShortString do not handle backing arrays with non-zero start offsets correctly (namely toIntValue and tokenize itself).
> Luckily nowhere in the M2.1 code is tokenize() or toIntValue() called on a AMQShortString which is itself the product of a tokenization.
> Therefore this bug should not stop the M2.1 release.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.