diff options
author | Shubham Ajmera <shubhamajmera@google.com> | 2016-11-30 15:05:10 +0000 |
---|---|---|
committer | Shubham Ajmera <shubhamajmera@google.com> | 2016-12-01 10:48:27 +0000 |
commit | c3005946d4806ca6a975fcfc63bdfd3e54b56b9a (patch) | |
tree | a33ac38ab4017f0d35e982fad99dd78f223dbd4c /annotations/generate_annotated_java_files.py | |
parent | 8992e392faa032fc027b979f578ec3d9195f9d36 (diff) |
Fix ordering issue in view ByteBuffer
View buffers use byte buffer object to perform all the read/write operations.
While creating one, instead of creating a duplicate of the origianl byte
buffer object, the view buffers were using it directly. As a result,
when a property on the byte buffer object is changed, all the read
and write operations on the view buffers were affected. To keep their properties
independent of each other, instead of using the byte buffer directly, view
buffers should make a copy of it, and then perform operations.
Test: cts-tradefed run cts -m CtsLibcoreTestCases
Bug: 32655865
Change-Id: I531d2642acf606391bb44b7209a72365cb19fede
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions