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

Maruan Sahyoun commented on PDFBOX-5044:
----------------------------------------

Maybe go for a 
[https://docs.oracle.com/javase/7/docs/api/java/util/IdentityHashMap.html] as 
this does and identity check vs an equality check (which for COSDictionary is 
currently the same)

> Stack overflow in PDFieldTree.enqueueKids()
> -------------------------------------------
>
>                 Key: PDFBOX-5044
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5044
>             Project: PDFBox
>          Issue Type: Bug
>          Components: AcroForm
>    Affects Versions: 2.0.22, 3.0.0 PDFBox
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.22, 3.0.0 PDFBox
>
>         Attachments: PDFBOX-4131-0.pdf
>
>
> {noformat}
>     
> org.apache.pdfbox.pdmodel.interactive.form.PDFieldTree$FieldIterator.enqueueKids(PDFieldTree.java:102)
>     
> org.apache.pdfbox.pdmodel.interactive.form.PDFieldTree$FieldIterator.enqueueKids(PDFieldTree.java:102)
>     
> org.apache.pdfbox.pdmodel.interactive.form.PDFieldTree$FieldIterator.enqueueKids(PDFieldTree.java:102)
>     
> org.apache.pdfbox.pdmodel.interactive.form.PDFieldTree$FieldIterator.enqueueKids(PDFieldTree.java:102)
>     
> org.apache.pdfbox.pdmodel.interactive.form.PDFieldTree$FieldIterator.enqueueKids(PDFieldTree.java:102)
> {noformat}
> I'll use an extra set to detect this.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to