commit | 71684d91a50ae210cec2cb8eccdc632bc494c786 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Nov 03 15:52:10 2009 -0800 |
committer | Elliott Hughes <enh@google.com> | Tue Nov 03 15:52:10 2009 -0800 |
tree | cd2f8fe00542b6563964dbe4ad36c7092d73332b | |
parent | 1934ec8aec3c681fb6d2513f38bda636f3af7063 [diff] |
CharsetDecoderICU/CharsetEncoderICU should take arrayOffset into account. CharsetDecoderICU and CharsetEncoderICU special-case array-backed ByteBuffers and CharBuffers for performance reasons, but they shouldn't assume that the backing array always has offset 0. An external user hit this while using the jAudioTagger library. Test cases from user submission: http://code.google.com/p/android/issues/detail?id=4237 See also: 2234697