Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3517

[Patch] CCITTFactory.createFromFile methods do not release lock on source file

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.3, 3.0.0 PDFBox
    • Fix Version/s: 2.0.4, 3.0.0 PDFBox
    • Component/s: PDModel
    • Labels:
      None
    • Environment:
      Windows 8.1

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tilman Tilman Hausherr
                Reporter:
                tguerin Thierry Guérin
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: