diff options
author | 2018-01-09 13:46:29 -0800 | |
---|---|---|
committer | 2018-01-09 13:50:14 -0800 | |
commit | 7f17d08d5be04d1fc393958c9895747c9dc88b30 (patch) | |
tree | 2de1b6538ea5c6d6a0e014fdff2a07d94623ad2d /src/main/java/com/google/devtools/build/lib/vfs/UnionFileSystem.java | |
parent | 457a226f69ab56109fd5ec9163ac57181d715bda (diff) |
Automated rollback of commit cb7689404ef9a69488d64bfc2e0bfb9326e664d6.
*** Reason for rollback ***
Rolling forward after the underlying issue has been fixed.
*** Original change description ***
Automated rollback of commit 6a54339bb943702bd7dffc43f85267dac98dc355.
*** Reason for rollback ***
b/71442447
*** Original change description ***
Call through to Path#createDirectoryAndParents from FileUtils.
This CL removes a method that due to its implementation causes threading difficulties for Path#createDirectory.
The tests for the method are brought across to FileSystemTests since the methods are now implemented natively by the FileSystem classes. The tests were also cleaned up.
The test revealed an edge c...
***
PiperOrigin-RevId: 181367850
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/vfs/UnionFileSystem.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/vfs/UnionFileSystem.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/vfs/UnionFileSystem.java b/src/main/java/com/google/devtools/build/lib/vfs/UnionFileSystem.java index 569357bcb2..d924e19d45 100644 --- a/src/main/java/com/google/devtools/build/lib/vfs/UnionFileSystem.java +++ b/src/main/java/com/google/devtools/build/lib/vfs/UnionFileSystem.java @@ -209,7 +209,7 @@ public class UnionFileSystem extends FileSystem { public void createDirectoryAndParents(Path path) throws IOException { checkModifiable(path); FileSystem delegate = getDelegate(path); - delegate.createDirectoryAndParents(path); + delegate.createDirectoryAndParents(adjustPath(path, delegate)); } @Override |