Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2911

Merge does not close input streams

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.10, 1.8.11, 2.0.0
    • Fix Version/s: 1.8.11, 2.0.0
    • Component/s: Utilities
    • Labels:
      None

      Description

      As explained in the linked SO post: merge closes the source documents, but not the source streams.

      One can call addSource() with a File object and then there would be no way for the caller to close the inputstream, so that would be a bug for sure. Not yet sure what to do when called with streams.

        Attachments

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              tilman Tilman Hausherr
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: