Branch: refs/heads/master
Home: https://github.com/jenkinsci/jenkins
Commit: 1270ba3b40ade4b822ee7538e31f0692ffbf64d2
https://github.com/jenkinsci/jenkins/commit/1270ba3b40ade4b822ee7538e31f0692ffbf64d2
Author: Devin Nusbaum <[email protected]>
Date: 2017-12-16 (Sat, 16 Dec 2017)
Changed paths:
M core/src/main/java/hudson/Util.java
M core/src/test/java/hudson/UtilTest.java
Log Message:
-----------
[JENKINS-48405] Use NIO in tryOnceDeleteFile and makeWritable (#3169)
* Use NIO in tryOnceDeleteFile and makeWritable
* Don't try to set PosixFileAttributes on Windows
* Do not create arbitrary exceptions in makeWritable to fix test failures on
Windows
* Remove unhelpful layer of exception wrapping
* Add test exercising Util#makeWritable in Util#tryOnceDeleteFile
* Add test for deleting a non-existant file
* Return early if changing permissions with NIO succeeds
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.