diff options
author | Sven Gothel <[email protected]> | 2015-07-16 04:46:17 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-07-16 04:46:17 +0200 |
commit | a3701528aa4be01924c983ce74e2efeaba0e58bc (patch) | |
tree | a4a1bc1db592985e3cc762eb7bf8f87095a8a8d9 /src/java/com/jogamp/gluegen/GlueGen.java | |
parent | 6ecc869eea932ac77dd6d4604eb205a8a659f83d (diff) |
Bug 1166: Refine fix of JavaEmitter's JVMUtil_NewDirectByteBufferCopy (2)
Further refine code, see commit f6a5ac4473135bbc4bc1a5f537e060df45eb4824.
- Perform a NULL check on Buffers.newDirectByteBuffer(..) result.
- Only copy memory if capacity > 0, incl fetching direct buffer address
Diffstat (limited to 'src/java/com/jogamp/gluegen/GlueGen.java')
0 files changed, 0 insertions, 0 deletions