[
https://issues.apache.org/jira/browse/PDFBOX-3517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15533426#comment-15533426
]
ASF GitHub Bot commented on PDFBOX-3517:
----------------------------------------
GitHub user SchwingSK opened a pull request:
https://github.com/apache/pdfbox/pull/25
PDFBOX-3517 close created RandomAccessFiles
simple patch to prevent Windows from keeping the source files locked.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/SchwingSK/pdfbox PDFBOX-3517
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/pdfbox/pull/25.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #25
----
commit 7ce218f778b07a530b5c1b4d8fb6fb8483f85620
Author: Thierry Guérin <[email protected]>
Date: 2016-09-29T17:28:59Z
PDFBOX-3517 close created RandomAccessFiles
----
> CCITTFactory.createFromFile methods do not release lock on source file
> ----------------------------------------------------------------------
>
> Key: PDFBOX-3517
> URL: https://issues.apache.org/jira/browse/PDFBOX-3517
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.3
> Environment: Windows 8.1
> Reporter: Thierry Guérin
> Priority: Minor
> Fix For: 2.0.4
>
>
> When using CCITTFactory.createFromFile methods, a RandomAccessFile is created
> on the source file, but never closed.
> On Windows, this locks the file. I haven't had the time yet to test on Linux.
> I have prepared a patch in GitHub, will post as soon as it's pushed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]