Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-269

Tailer locks file from deletion/rename on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4
    • None
    • None

    Description

      The Tailer code works on Windows, except that it locks the file against deletion or rename.

      The test code fails to detect this, because it fails to check if the file deletion succeeds.

      This seems to be a Windows OS issue.

      A possible solution might be to keep closing and re-opening the file.

      Attachments

        1. IO-269.patch
          5 kB
          Marcos Vinícius da Silva
        2. IO-269-v2.patch
          5 kB
          Niall Pemberton
        3. IO-269-v3.patch
          6 kB
          Sebb
        4. ReOpen.java
          2 kB
          Sebb

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: