[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


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.

Reply via email to