[
https://issues.apache.org/jira/browse/PDFBOX-3514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15562711#comment-15562711
]
Tilman Hausherr commented on PDFBOX-3514:
-----------------------------------------
Ah, I got it. You're passing the list of objects hit before to avoid endless
recursion. This is of course good and I'll use it, thank you.
What is the small static method for, i.e. why didn't you call the "big" static
method directly in toString() ? Is this style-related or is this a trick to
"lose" reference to the list as fast as possible?
> Stackoverflow exception
> -----------------------
>
> Key: PDFBOX-3514
> URL: https://issues.apache.org/jira/browse/PDFBOX-3514
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.3
> Reporter: simon steiner
> Attachments: stackoverflowtostring.patch
>
>
> pdf from PDFBOX-1365
> PDDocument x = PDDocument.load(new File("out_PDFA.pdf"));
> x.getPage(0).getCOSObject().toString();
> x.close();
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]