GitHub user jmkgreen opened a pull request:

    https://github.com/apache/pdfbox/pull/4

    Fix closure of exported resource

    This fixes https://issues.apache.org/jira/browse/PDFBOX-1586 although there 
will be an underlying problem which has not been inspected. Solves problem of 
crashes when saving split fragments from a large document,

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jmkgreen/pdfbox trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/pdfbox/pull/4.patch

----
commit 19ce29d4b4a8592b3977b21755be31edba527725
Author: James Green <james.mk.gr...@gmail.com>
Date:   2013-05-01T11:41:33Z

    Resolves PDFBOX-1586 by not closing the scratchFile instance as it is 
exported and thus potentially referenced elsewhere (as is the case with the 
splitting of a large document).

commit f358112a586acf341d1ae696b010a170cc9ca2ce
Author: James Green <james.mk.gr...@gmail.com>
Date:   2013-05-01T11:44:33Z

    Revert commit which reformats document.

commit 345e624c19d721d16bd2efa1d5ed41f91185aaf1
Author: James Green <james.mk.gr...@gmail.com>
Date:   2013-05-01T11:46:03Z

    Resolves PDFBOX-1586 by not closing the scratchFile instance as it is 
exported and thus potentially referenced elsewhere (as is the case with the 
splitting of a large document).

----

Reply via email to