3f7495294d8b27c00ff647773fcac75afe10c629 |
|
15-Aug-2016 |
Serguei Katkov <serguei.i.katkov@intel.com> |
Unify exception order in java.nio.Buffer subclasses The bulk methods <Type>Buffer.put(<Type>Buffer) produces two problems causing IllegalArgumentException and ReadOnlyBufferException exceptions. To unify the order of exception IllegalArgumentException will be thrown first. The tests are update to expect IllegalArgumentException in the condition above. Test: run cts -p android.core.tests.libcore.package.harmony_java_nio, run cts -c libcore.java.nio.BufferTest, run cts -c libcore.java.nio.CharBufferTest, run cts -c libcore.java.nio.NoArrayTest, run cts -c libcore.java.nio.OldAndroidNIOTest, run cts -c libcore.java.nio.OldDirectIntBufferTest run cts -c libcore.java.nio.OldDirectShortBufferTest Change-Id: If3314c29b193425d6255a32a1841d2b7bb9a767d Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
|
6f07fc6c80a7e85fdfffbc2ac4e15b53cdd04a3e |
|
12-Apr-2016 |
Yi Kong <yikong@google.com> |
Port OpenJDK8 chars() and codepoints() methods Bug: 28108421 Change-Id: I1e3d5cf89532112608af52e67a9a774147032ea6 (cherry picked from commit 5458546631c65f6d375b6a1780d36d0abb5b95af)
|
5458546631c65f6d375b6a1780d36d0abb5b95af |
|
12-Apr-2016 |
Yi Kong <yikong@google.com> |
Port OpenJDK8 chars() and codepoints() methods Bug: 28108421 Change-Id: I1e3d5cf89532112608af52e67a9a774147032ea6
|
2c87ad3a45cecf9e344487cad1abfdebe79f2c7c |
|
21-Dec-2015 |
Narayan Kamath <narayan@google.com> |
Update file headers. Change-Id: I8149f41585768a1a4b72ab7bb4a1452376c05cc2
|
190a49036750b8bb6c979d958ed56aa3fb4f408a |
|
15-Dec-2015 |
Shubham Ajmera <shubhamajmera@google.com> |
Formatted java.nio.* classes according to Android style guidelines and removed extra white spaces. Also, removed the templates from the package. Change-Id: Ibc96d75c48201987087c87f8ea0c66a495eeb94c
|
d80eadc041c833c2808beb823f4edb90ff7410f7 |
|
18-Nov-2015 |
Shubham Ajmera <shubhamajmera@google.com> |
FollowUp fixes for ByteBuffer There were some issues caused after changes #815174, #815055, #815164. Fixes include - using the correct constructor for deprecated classes, issues with readonly flag, offset for sliced bytebuffer, introducing isAccessible flag in place of isFreed flag, provided a method to set accessible flag. Change-Id: Ic6c7ae4e4f9a364b7dee4ed5ced382844f907ef5
|
53df6f7c7727b8ba0e130ca9e05adb20c0e0d173 |
|
21-Oct-2015 |
Shubham Ajmera <shubhamajmera@google.com> |
HeapCharBuffer: Merged the ReadOnly variant Added isReadOnly flag and corresponding constructors. Also added write checks for readOnly buffer. Change-Id: Ie75e286810bc46c4a393ad8bf2eae316c5c0e05e
|
dee594e6a72064fc994b305487a61f2e2bb250e1 |
|
05-May-2015 |
Piotr Jastrzebski <haaawk@google.com> |
Add machine-generated variants of Buffer classes. Change-Id: Ie042495e667378a0cfb507fd76ca7961e66fbc78
|