Skip to content

FileSystemUtils.deleteRecursively always returns false [SPR-15846] #20401

Closed
@spring-projects-issues

Description

@spring-projects-issues

Andy Wilkinson opened SPR-15846 and commented

The root is deleted in postVisitDirectory by a call to Files.delete(dir). Once the walking of the file tree has completed Files.deleteIfExists(root) is called and its result is returned. This result is always false due to the earlier File.delete(dir) call.


Affects: 5.0 RC3

Issue Links:

Referenced from: commits fabc9c2

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: regressionA bug that is also a regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions