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)

Reply via email to