You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2014/12/15 16:37:13 UTC

[jira] [Created] (FLINK-1327) MemorySegment ByteBuffer wrapping may fail with IndexOutOfBoundsException

Stephan Ewen created FLINK-1327:
-----------------------------------

             Summary: MemorySegment ByteBuffer wrapping may fail with IndexOutOfBoundsException
                 Key: FLINK-1327
                 URL: https://issues.apache.org/jira/browse/FLINK-1327
             Project: Flink
          Issue Type: Bug
          Components: Local Runtime
    Affects Versions: 0.8-incubating
            Reporter: Stephan Ewen
            Assignee: Stephan Ewen
            Priority: Blocker
             Fix For: 0.8-incubating


The calls to {{ByteBuffer#limit(int)}} and {{ByteBuffer#position(int)}} are in the wrong order. The positioning fails if the old limit is smaller than the new position.



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