[
https://issues.apache.org/jira/browse/PDFBOX-4237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16502266#comment-16502266
]
Tilman Hausherr commented on PDFBOX-4237:
-----------------------------------------
Are we possibly creating memory leaks? There's a lot of code like this:
{code}
PDFStreamParser parser = new PDFStreamParser(getContents());
{code}
so the input stream is never closed, or is it? Before rev 1683932, the comment
"This will close the stream when it is finished parsing" was true, but not
after.
> Don't use PD-level classes in COS-level classes
> -----------------------------------------------
>
> Key: PDFBOX-4237
> URL: https://issues.apache.org/jira/browse/PDFBOX-4237
> Project: PDFBox
> Issue Type: Improvement
> Components: Parsing
> Affects Versions: 3.0.0 PDFBox
> Reporter: Andreas Lehmkühler
> Assignee: Andreas Lehmkühler
> Priority: Major
> Fix For: 3.0.0 PDFBox
>
>
> The constructor of {{PDFStreamParser}} uses {{PDContentStream}} as parameter.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]