diff options
author | Shubham Ajmera <shubhamajmera@google.com> | 2016-11-04 16:42:04 +0000 |
---|---|---|
committer | Shubham Ajmera <shubhamajmera@google.com> | 2016-11-09 12:19:07 +0000 |
commit | cdf4dbb3c1ee370333fdfa628def46a4250c292d (patch) | |
tree | bf8e2021c8fb5b6f83e61f4273ce1d115a22a691 /annotations/generate_annotated_java_files.py | |
parent | 4106a459a43ccf72b1bb6451cbc351e493c9e6f1 (diff) |
Fix byte ordering in ByteBufferAsXBuffer
X: Short, Long, Double, Float, Int, Char
When a readOnlyBuffer is created from ByteBufferAsXBuffer, the order of
underlying bytebuffer is set to default(Big Endian). Therefore, when the
buffer queries the underlying bytebuffer without explicitly setting the
byteOrder, it returns result in the default order, i.e., BigEndian.
Test: cts-tradefed run cts -m CtsLibcoreTestCases \
libcore.java.nio.BufferTest#test_ByteBufferAsXBuffer_ByteOrder
Bug: 32655865
Change-Id: Iaa6fc72feb7d11bfe9c59ed2c7e00a26d31117bd
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions