You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/12/30 13:40:00 UTC

[jira] [Commented] (PDFBOX-4321) PDDocument.save(OutputStream) shouldn't close the output stream

    [ https://issues.apache.org/jira/browse/PDFBOX-4321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17256532#comment-17256532 ] 

ASF subversion and git services commented on PDFBOX-4321:
---------------------------------------------------------

Commit 1884941 from lehmi@apache.org in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1884941 ]

PDFBOX-4321: don't close given output stream after saving a pdf

> PDDocument.save(OutputStream) shouldn't close the output stream
> ---------------------------------------------------------------
>
>                 Key: PDFBOX-4321
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4321
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.11, 3.0.0 PDFBox
>            Reporter: Tilman Hausherr
>            Assignee: Andreas Lehmkühler
>            Priority: Major
>             Fix For: 3.0.0 PDFBox
>
>
> As mentioned by [~haraldk76] in PDFBOX-4241, {{PDDocument.save(OutputStream)}} shouldn't close the output stream, this is poor design.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org