[jira] [Created] (FLINK-4759) Unclosed DataOutputViewStream in JavaSerializer

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

[jira] [Created] (FLINK-4759) Unclosed DataOutputViewStream in JavaSerializer

Shang Yuanchun (Jira)
Ted Yu created FLINK-4759:
-----------------------------

             Summary: Unclosed DataOutputViewStream in JavaSerializer
                 Key: FLINK-4759
                 URL: https://issues.apache.org/jira/browse/FLINK-4759
             Project: Flink
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


{code}
  public void serialize(T record, DataOutputView target) throws IOException {
    InstantiationUtil.serializeObject(new DataOutputViewStream(target), record);
  }
{code}
The DataOutputViewStream should be closed upon return from the method.



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