[ 
https://issues.apache.org/jira/browse/PDFBOX-793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jukka Zitting resolved PDFBOX-793.
----------------------------------

         Assignee: Jukka Zitting
    Fix Version/s: 1.3.0
       Resolution: Fixed

Good point, thanks! I fixed this as suggested in revision 992292 by passing the 
scratchFile parameter on to the PDFParser instance.

> scratchfile ignored in PDDocument load( File file, RandomAccess scratchFile )
> -----------------------------------------------------------------------------
>
>                 Key: PDFBOX-793
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-793
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.2.1
>            Reporter: Ryan McKinley
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 1.3.0
>
>
> The PDDocument load function:
> {code:java}
>     public static PDDocument load( File file, RandomAccess scratchFile ) 
> throws IOException
>     {
>         return load( new FileInputStream( file ) );
>     }
> {code}
> ignores the scratchFile -- either drop the parameter or actualy pass it on

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to