[
https://issues.apache.org/jira/browse/PDFBOX-4254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maruan Sahyoun updated PDFBOX-4254:
-----------------------------------
Fix Version/s: 2.0.12
> PDDocument.close() might ignore throwing an Exception
> -----------------------------------------------------
>
> Key: PDFBOX-4254
> URL: https://issues.apache.org/jira/browse/PDFBOX-4254
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 2.0.10, 2.0.11, 3.0.0 PDFBox
> Reporter: Maruan Sahyoun
> Assignee: Maruan Sahyoun
> Priority: Major
> Fix For: 3.0.0 PDFBox, 2.0.12
>
>
> As discussed on the mailing list:
> I had a look at IOUtils.closeAndLogException() and PDDocument.close() and if
> initialException is not null, then null is returned if a new exception is
> thrown, or if everything goes well. This means that at the end of
> PDDocument.close(), no exception would be thrown, right? Was this intended?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]