commit | 22eb33263a03d634b4ed4d0b210bacc2793fbe1c | [log] [tgz] |
---|---|---|
author | Yun Peng <pcloudy@google.com> | Tue Jun 21 14:38:12 2016 +0000 |
committer | Philipp Wollermann <philwo@google.com> | Tue Jun 21 14:48:36 2016 +0000 |
tree | 7e31f5b2f9d3560525e52e24dc6dd7689932a1e1 | |
parent | 740cb398bdde6092631dbca5dc80cd42ee3617b7 [diff] [blame] |
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
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 cd174c6..2be5055 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 @@ private File tmpDir; protected FileSystem getUnixFileSystem() { - return FileSystems.initDefaultAsNative(); + return FileSystems.getNativeFileSystem(); } @Before