You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shixiong Zhu (JIRA)" <ji...@apache.org> on 2015/12/08 19:31:11 UTC

[jira] [Resolved] (SPARK-12078) Fix ByteBuffer.limit misuse

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

Shixiong Zhu resolved SPARK-12078.
----------------------------------
    Resolution: Won't Fix

For now, we can assume position is 0

> Fix ByteBuffer.limit misuse
> ---------------------------
>
>                 Key: SPARK-12078
>                 URL: https://issues.apache.org/jira/browse/SPARK-12078
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>            Reporter: Shixiong Zhu
>
> `ByteBuffer.limit` is not the remaining size of ByteBuffer. `ByteBuffer.limit` is equal to `ByteBuffer.remaining` only if `ByteBuffer.position` is 0.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org