[ 
https://issues.apache.org/jira/browse/ARROW-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wes McKinney resolved ARROW-1443.
---------------------------------
    Resolution: Fixed

Issue resolved by pull request 1022
[https://github.com/apache/arrow/pull/1022]

> [Java] Bug on ArrowBuf.setBytes with unsliced ByteBuffers
> ---------------------------------------------------------
>
>                 Key: ARROW-1443
>                 URL: https://issues.apache.org/jira/browse/ARROW-1443
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Java - Memory
>    Affects Versions: 0.6.0
>            Reporter: Gonzalo Ortiz
>             Fix For: 0.7.0
>
>
> There is a small bug on ArrowBuf at line 750. It says:
> {code}
> udle.setBytes(index + offset, buf);
> {code}
> But it should say:
> {code}
> udle.setBytes(index + offset, newBuf);
> {code}
> There is a wraparound: You can call the method with the already sliced buffer.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to