XStream
  1. XStream
  2. XSTR-196

ObjectOutputStream, ObjectInputStream close() methods don't close nested writer/reader

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.1
    • Component/s: None
    • Labels:
      None
    • JDK version and platform:
      Sun 1.4.2_03 Windows

      Description

      Closing the ObjectOutputStream/ObjectInputStream created by XStream still leaves the nested Writer/Reader open. They have to be manually closed.
      The general contract for Streams, Writers and Readers is that closing them also closes any nested streams.

        People

        • Assignee:
          Unassigned
          Reporter:
          Sunil Kamath
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: