-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
None
-
Low
Two problems. One, the delete is aborted without a known result. Two, the caller has no clue that its thread has been interrupted.
The cardinal rule of interruption is: Either rethrow an InterruptedException, or swallow it AND re-set the thread interrupt flag. The right behavior in this case is to swallow the exception, set the flag, and immediately return "true" if we deleted the file and "false" if we did not.