[
https://issues.apache.org/jira/browse/PDFBOX-3002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14937642#comment-14937642
]
Tilman Hausherr commented on PDFBOX-3002:
-----------------------------------------
Commit 1706070 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1706070 ]
PDFBOX-3002: close file on exception as discussed with Timo Boehme
> 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
>
>
> 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]