JMemory.transferTo(ByteBuffer, int offset, int length) ignores the offset parameter for ByteArray.isArray() == true. The direct ByteBuffer version of the buffer is handled correctly.
The issue has been fixed and will be released in the next major or maintenance release. The bug was found and confirmed. Appropriate jUnit test cases have been created to verify that this issue is resolved and will not be broken again by future changes.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The issue has been fixed and will be released in the next major or maintenance release. The bug was found and confirmed. Appropriate jUnit test cases have been created to verify that this issue is resolved and will not be broken again by future changes.