Branch: refs/heads/master
Home: https://github.com/jenkinsci/jenkins
Commit: fdccc0e8384370684e25063e95f4a704773c53dd
https://github.com/jenkinsci/jenkins/commit/fdccc0e8384370684e25063e95f4a704773c53dd
Author: Devin Nusbaum <[email protected]>
Date: 2017-12-01 (Fri, 01 Dec 2017)
Changed paths:
M core/src/main/java/hudson/FilePath.java
M core/src/main/java/hudson/Util.java
M core/src/main/java/hudson/util/IOUtils.java
M core/src/test/java/hudson/FilePathTest.java
M core/src/test/java/hudson/UtilTest.java
M core/src/test/java/hudson/util/io/TarArchiverTest.java
Log Message:
-----------
[JENKINS-36088] Use NIO implementations of chmod and mode by default (#3135)
* Use NIO for FilePath#chmod and IOUtils#mode
* Add tests for NIO mode and chmod implementations
* Add test, remove new method, and update JavaDoc
* Provide system property to use native implementations of chmod and mode
* Revert unrelated whitespace modification
* Don't remove exception from throws and put imports in original location
* Fix broken JavaDoc links
* Ignore file type bits (above 0o7777) in Util#modeToPermission
* Use octal for constants and don't include file type bits
* Revert unnecessary changes to TarArchiverTest
* Add assertion that non-permission bits are ignored by chmod
* Use NIO copy with StandardCopyOption.COPY_ATTRIBUTES in copyToWithPermissions
where possible
* Catch InvalidPathException and convert it to IOException
* Create utility method for File#toPath and use File#createDirectories after
review
* Remove useless calls to toAbsolutePath and getAbsoluteFile
* Fix typos and use octal for constant after review
* Add test for behavior of copyToWithPermission with special bits
--
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.