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

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

I agree with John, we have to introduce a new class like PDNonTerminalField 
(mine is called PDFieldDictionary) and yes it shouldn't inherit from PDField. 
It should be the other way around. PDField contains most of the inheritable 
values which should be moved to the new class and the the others, such as T, 
TU, TM and AA should be left in PDField. Kids, Parent and FT should be moved 
too.
That would follow the spec and each node of the tree would be represented by a 
single object.

> 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
>            Assignee: Andreas Lehmkühler
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: 966679.pdf, RadioButtons.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