You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/01/24 12:20:00 UTC

[jira] [Commented] (TINKERPOP-2141) ByteBufferSerializer modifies buffer's position

    [ https://issues.apache.org/jira/browse/TINKERPOP-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16751060#comment-16751060 ] 

ASF GitHub Bot commented on TINKERPOP-2141:
-------------------------------------------

nastra commented on pull request #1045: TINKERPOP-2141: Rewind buffer's position in ByteBufferSerializer
URL: https://github.com/apache/tinkerpop/pull/1045
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> ByteBufferSerializer modifies buffer's position
> -----------------------------------------------
>
>                 Key: TINKERPOP-2141
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2141
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: driver
>    Affects Versions: 3.4.0
>            Reporter: Eduard Tudenhoefner
>            Priority: Major
>             Fix For: 3.4.1
>
>
> The {{ByteBufferSerializer}} modifies the resulting buffer's position. The reason this wasn't caught by the existing test is because *ByteBuffer.allocate(8).putLong(123456)* also modifies the buffer's position.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)