diff options
author | Xerxes Rånby <[email protected]> | 2015-07-08 22:06:32 +0200 |
---|---|---|
committer | Xerxes Rånby <[email protected]> | 2015-07-08 22:16:33 +0200 |
commit | e424c28f869269f5a22c22ef017230346b22847a (patch) | |
tree | 068b0ed00e9c4fb17bf01825e1e21c50911d8667 /src/java/com/jogamp/gluegen/structgen | |
parent | 658d5837d7db96387976a5848b51a7ca651bee66 (diff) |
BUG 1166: Fix JavaEmitter JVMUtil_NewDirectByteBufferCopy
Prevents jlong to jint truncation
when capacity is passed from jni to java.
com.jogamp.common.nio.Buffers newDirectByteBuffer
and the underlying java.nio.ByteBuffer allocateDirect
only work with capacitys of int size.
Signed-off-by: Xerxes Rånby <[email protected]>
Diffstat (limited to 'src/java/com/jogamp/gluegen/structgen')
0 files changed, 0 insertions, 0 deletions