diff options
author | Narayan Kamath <narayan@google.com> | 2013-12-19 17:52:47 +0000 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2013-12-20 10:14:20 +0000 |
commit | ef809d09cf0d28d999ac69969e4506d8afa4624d (patch) | |
tree | 326627b033a42a39261310054edd8ebea087df39 /test/038-inner-null | |
parent | 7a761d8cdcc960d2198277a89396a0e24b8bb10b (diff) | |
download | art-ef809d09cf0d28d999ac69969e4506d8afa4624d.tar.gz art-ef809d09cf0d28d999ac69969e4506d8afa4624d.tar.bz2 art-ef809d09cf0d28d999ac69969e4506d8afa4624d.zip |
JNI: NewDirectByteBuffer should allow 0 length buffers.
This makes the implementation symmetric with direct
buffers allocated from java.
- GetDirectBufferAddress returns the address of the buffer
passed in to NewDirectByteBuffer (and not NULL).
- GetDirectBufferCapaticy returns 0.
bug: https://code.google.com/p/android/issues/detail?id=63055
Change-Id: I55b24623ec4f7670972fed898ea097934c6c0b5f
Diffstat (limited to 'test/038-inner-null')
0 files changed, 0 insertions, 0 deletions