FileSystemUtils.deleteRecursively always returns false [SPR-15846] #20401
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: regression
A bug that is also a regression
Milestone
Andy Wilkinson opened SPR-15846 and commented
The
root
is deleted inpostVisitDirectory
by a call toFiles.delete(dir)
. Once the walking of the file tree has completedFiles.deleteIfExists(root)
is called and its result is returned. This result is alwaysfalse
due to the earlierFile.delete(dir)
call.Affects: 5.0 RC3
Issue Links:
Referenced from: commits fabc9c2
The text was updated successfully, but these errors were encountered: