[
https://issues.apache.org/jira/browse/PDFBOX-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Chojecki resolved PDFBOX-273.
------------------------------------
Resolution: Fixed
Fix Version/s: 1.8.0
Assignee: Thomas Chojecki
A look at the PDDocument save() Method shows that at the moment only the
COSWriter will be closed.
Other resources will be closed with the close() method. So I think this is
already solved.
As I can not find out in which version this change was made, I tag the fix
version as 1.8.0.
> PDDocument.save should not close stream
> ---------------------------------------
>
> Key: PDFBOX-273
> URL: https://issues.apache.org/jira/browse/PDFBOX-273
> Project: PDFBox
> Issue Type: Bug
> Components: Writing
> Assignee: Thomas Chojecki
> Priority: Minor
> Fix For: 1.8.0
>
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1714574
> Originally submitted by wasabii on 2007-05-07 13:13.
> Calling PDDocument.save should not close the underlying stream. It is not
> appropiate in this location and causes double-close issues when the calling
> code assumes responsibility for the stream.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)