qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Godfrey (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Resolved: (QPID-899) [Java Common] Bug in AMQShortString on tokenized substrings
Date Wed, 16 Apr 2008 08:28:26 GMT

     [ 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.

View raw message