diff options
author | 2016-06-21 14:38:12 +0000 | |
---|---|---|
committer | 2016-06-21 14:48:36 +0000 | |
commit | 22eb33263a03d634b4ed4d0b210bacc2793fbe1c (patch) | |
tree | 7e31f5b2f9d3560525e52e24dc6dd7689932a1e1 /src/test/java/com/google/devtools/build/lib/vfs/UnixPathTest.java | |
parent | 740cb398bdde6092631dbca5dc80cd42ee3617b7 (diff) |
Fixed two Bazel java tests on Windows by using the right native file system
Newly passing:
//src/test/java/com/google/devtools/build/...
lib/skyframe:SkyframeTests
lib:actions_test
Also refactored FileSystems.java
--
Change-Id: I03ab9db5c1ab5e5be4ff1efbc5cf2d280084254a
Reviewed-on: https://bazel-review.googlesource.com/#/c/3843
MOS_MIGRATED_REVID=125449456
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/vfs/UnixPathTest.java')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/vfs/UnixPathTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/vfs/UnixPathTest.java b/src/test/java/com/google/devtools/build/lib/vfs/UnixPathTest.java index cd174c62f8..2be505548a 100644 --- a/src/test/java/com/google/devtools/build/lib/vfs/UnixPathTest.java +++ b/src/test/java/com/google/devtools/build/lib/vfs/UnixPathTest.java @@ -53,7 +53,7 @@ public class UnixPathTest { private File tmpDir; protected FileSystem getUnixFileSystem() { - return FileSystems.initDefaultAsNative(); + return FileSystems.getNativeFileSystem(); } @Before |