diff options
| author | 2013-12-19 17:52:47 +0000 | |
|---|---|---|
| committer | 2013-12-20 10:14:20 +0000 | |
| commit | ef809d09cf0d28d999ac69969e4506d8afa4624d (patch) | |
| tree | 326627b033a42a39261310054edd8ebea087df39 /compiler/driver/compiler_driver_test.cc | |
| parent | 7a761d8cdcc960d2198277a89396a0e24b8bb10b (diff) | |
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 'compiler/driver/compiler_driver_test.cc')
0 files changed, 0 insertions, 0 deletions