[ https://issues.apache.org/jira/browse/PDFBOX-2911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648115#comment-14648115 ]
ASF subversion and git services commented on PDFBOX-2911: --------------------------------------------------------- Commit 1693469 from [~lehmi] in branch 'pdfbox/branches/1.8' [ https://svn.apache.org/r1693469 ] PDFBOX-2911: close all FileInputStreams created when calling addSource with a filename or a file > Merge does not close input streams > ---------------------------------- > > Key: PDFBOX-2911 > URL: https://issues.apache.org/jira/browse/PDFBOX-2911 > Project: PDFBox > Issue Type: Bug > Components: Utilities > Affects Versions: 1.8.10, 1.8.11, 2.0.0 > Reporter: Tilman Hausherr > Assignee: Andreas Lehmkühler > Fix For: 1.8.11, 2.0.0 > > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org