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

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

Commit 1712090 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1712090 ]

PDFBOX-3002: close scratch files on IOException, as suggested by Jesse Long

> PDF files not closed after load fails
> -------------------------------------
>
>                 Key: PDFBOX-3002
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3002
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.8.10, 1.8.11, 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>             Fix For: 1.8.11, 2.0.0
>
>         Attachments: pdfbox-close-parse-error.patch
>
>
> In 2.0, PDF files are not closed affter load() if the parsing fails. I will 
> fix this and also add tests (in 2.0 and 1.8) to make sure that PDF files are 
> closed after load(). See also the discussion with Timo Boehme in 
> [PDFBOX-2883|https://issues.apache.org/jira/browse/PDFBOX-2883?focusedCommentId=14935447&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14935447].



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to