Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1310

Return value of File.[delete|mkdir] is ignored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0-beta3
    • 3.0.0-beta5
    • None
    • None
    • All

    Description

      In various places we use java.io.File.[delete|mkdir] without respecting the return value. File.delete e.g. may just return false if the file/directory can't be deleted/created because of any other reason than a SecurityException [1].

      In case the return value is false an IOException should be thrown

      Attachments

        Activity

          People

            felixk Felix Knecht
            felixk Felix Knecht
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: