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

Andreas Lehmkühler commented on PDFBOX-2261:
--------------------------------------------

The method PDFieldFactory#isButton walks down all kids to determine if one of 
the kids has a button field type if the parent node hasn't any. Looks like 
that's the reason for the massive recursive calls.

I can't find any reference in the spec that such a construct is possible/valid.

> Extremely long hang during getFields() on a few PDF files
> ---------------------------------------------------------
>
>                 Key: PDFBOX-2261
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2261
>             Project: PDFBox
>          Issue Type: Bug
>          Components: AcroForm
>    Affects Versions: 1.8.6
>            Reporter: Tim Allison
>            Priority: Minor
>         Attachments: 966679.pdf, screenshot-pdfdebugger.png
>
>
> When I run oap.examples.fdf.PrintFields from trunk, the code seems to hang 
> during acroForm.getFields().  This is a heavy load hang.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to