-
Improvement
-
Resolution: Fixed
-
Minor
Switching to NIO will improve the error messages when a file cannot be deleted, and will allow us to remove some JNR and Ant Chmod usages in Util#makeWritable.
This should affect all of the recursive deletion methods in hudson.model.FilePath and hudson.model.Util as they all eventually call Util#deleteFile.
- relates to
-
JENKINS-36088 Use NIO rather than JNR whenever possible
-
- Resolved
-
-
JENKINS-47324 FilePath API in Jenkins should propagate errors
-
- Closed
-
Code changed in jenkins
User: Devin Nusbaum
Path:
core/src/main/java/hudson/Util.java
core/src/test/java/hudson/UtilTest.java
http://jenkins-ci.org/commit/jenkins/1270ba3b40ade4b822ee7538e31f0692ffbf64d2
Log:
JENKINS-48405Use NIO in tryOnceDeleteFile and makeWritable (#3169)