Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-6080

Unclosed ObjectOutputStream in NFA#serialize()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: CEP
    • Labels:
      None

      Description

          public void serialize(NFA<T> record, DataOutputView target) throws IOException {
            ObjectOutputStream oos = new ObjectOutputStream(new DataOutputViewStream(target));
            oos.writeObject(record);
            oos.flush();
          }
      

      ObjectOutputStream should be closed before returning from method.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dawidwys Dawid Wysakowicz
                Reporter:
                yuzhihong@gmail.com Ted Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: