[ https://issues.apache.org/jira/browse/PDFBOX-2911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr updated PDFBOX-2911: ------------------------------------ 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. was:As explained in the linked SO post: merge closes the source documents, but not the source streams. > 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 > 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