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

Maruan Sahyoun edited comment on PDFBOX-2261 at 8/13/14 12:35 PM:
------------------------------------------------------------------

if it’s a non terminal field wo a field type there is no need to lookup the 
field type for it IMHO. Maybe change it so if it’s a terminal field for 
inheritable attributes, such as field type, we do something like

{code}
field.getInheritableAttribute(‚FT‘)
{code}

which would look up the parent hierachy if the attribute is not part of the 
fields dictionary. WDYT


was (Author: msahyoun):
if it’s a non terminal field wo a field type there is no need to lookup the 
field type for it IMHO. Maybe change it so if it’s a terminal field for 
inheritable attributes, such as field type, we do something like

{{code}}
field.getInheritableAttribute(‚FT‘)
{{code}}

which would look up the parent hierachy if the attribute is not part of the 
fields dictionary. WDYT

> 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, 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