diff options
author | 2017-03-03 14:24:46 +0000 | |
---|---|---|
committer | 2017-03-06 09:44:33 +0000 | |
commit | 0768f3e444a121c5c8e8e0bd0bb98772fab0e0e2 (patch) | |
tree | df97957907a51d063b38326a556168be3e9b8745 /src/main/java/com/google/devtools/build/lib/worker/Worker.java | |
parent | 0ca44769ea775485aac177664a13d4e178fa037b (diff) |
PathFragment comparisons are now platform-aware
PathFragment's `equals`, `hashCode`, `compareTo`,
`startsWith`, `endsWith`, and `relativeTo` are now
aware of case-insensitivity when running on
Windows.
This approach is better than
https://bazel-review.googlesource.com/c/9124/
because it preserves path casing, which is
important when computing action output paths.
This change contains two additional bugfixes:
- `compareTo` now takes `driveLetter` into account
- the `InMemoryFileSystem` in `PathWindowsTest` is
not case-insensitive
Fixes https://github.com/bazelbuild/bazel/issues/2613
--
Change-Id: I1a4250a373fff03fa02a6d8360457450b47a42a8
Reviewed-on: https://cr.bazel.build/9126
PiperOrigin-RevId: 149106930
MOS_MIGRATED_REVID=149106930
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/worker/Worker.java')
0 files changed, 0 insertions, 0 deletions