[jira] [Created] (FLINK-5561) DataInputDeserializer#available returns one too few

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-5561) DataInputDeserializer#available returns one too few

Shang Yuanchun (Jira)
Nico Kruber created FLINK-5561:
----------------------------------

             Summary: DataInputDeserializer#available returns one too few
                 Key: FLINK-5561
                 URL: https://issues.apache.org/jira/browse/FLINK-5561
             Project: Flink
          Issue Type: Bug
    Affects Versions: 1.2.0
            Reporter: Nico Kruber
            Assignee: Nico Kruber


DataInputDeserializer#available seems to assume that the position points to the last read byte but instead it points to the next byte. Therefore, it returns a value which is 1 smaller than the correct one.



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