diff options
author | Pekka Enberg <penberg@kernel.org> | 2011-03-17 19:52:18 +0000 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2011-03-17 19:52:18 +0000 |
commit | 92bcf9c6a0840c80fadbeda7692aa8929292c273 (patch) | |
tree | f2fba6b928a48a3ba7a3aa181e3d66d4053a9c03 /ChangeLog.gnujaxp.1 | |
parent | 78823a8e573b31fa78fc3e9d8e43ab429037e73e (diff) | |
download | classpath-92bcf9c6a0840c80fadbeda7692aa8929292c273.tar.gz |
Fix Java_java_nio_VMDirectByteBuffer_allocate() for negative capacity
JavaDocs clearly state that ByteBuffer.allocateDirect() must throw
IllegalArgumentException if capacity is negative.
2011-03-17 Pekka Enberg <penberg@kernel.org>
* native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
(Java_java_nio_VMDirectByteBuffer_allocate): Check for negative
capacity.
Diffstat (limited to 'ChangeLog.gnujaxp.1')
0 files changed, 0 insertions, 0 deletions