You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2015/07/30 17:10:05 UTC
[jira] [Updated] (PDFBOX-2911) Merge does not close input streams
[ 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-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org