JD Dean created IO-859:
--------------------------
Summary: forceDelete on non-existent file on Windows throws
IOException rather than FileNotFoundException
Key: IO-859
URL: https://issues.apache.org/jira/browse/IO-859
Project: Commons IO
Issue Type: Bug
Components: Utilities
Affects Versions: 2.16.1
Environment: Windows
Reporter: JD Dean
using FileUtils.forceDelete on a non-existent file throws *IOException: DOS or
POSIX file operations not available* in setReadOnly.
{code:java}
Caused by: java.io.IOException: DOS or POSIX file operations not available for
<path>
PathUtils.setReadOnly(PathUtils.java:1602)
PathUtils.deleteFile(PathUtils.java:584)
PathUtils.delete(PathUtils.java:477)
FileUtils.forceDelete(FileUtils.java:1386)
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)