Uploaded image for project: 'XWiki FileSystem Format'
  1. XWiki FileSystem Format
  2. XFF-12

Use class from commons that protects against auto-close of streams

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 0.3.1
    • XFF filter
    • None

    Description

      At the moment, unmarshaller automatically close streams. However, when we use a Zip stream, each entry in the zip is considered as a stream. The unmarshaller will therefore close the entire stream which will crash the filter of XFF. At the moment, a specific class UncloseableZipInputStream has been implemented to wrap stream in a protected class. But it seems that such class already exists in XWiki Commons.

      Attachments

        Activity

          People

            jsimard Jean SIMARD
            jsimard Jean SIMARD
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: