Description
The PDDocument load function:
public static PDDocument load( File file, RandomAccess scratchFile ) throws IOException { return load( new FileInputStream( file ) ); }
ignores the scratchFile – either drop the parameter or actualy pass it on