commit | f0f5d101ddac1bce16b49fce828e85096c24bbfd | [log] [tgz] |
---|---|---|
author | laszlocsomor <laszlocsomor@google.com> | Mon Jul 09 08:41:53 2018 -0700 |
committer | Copybara-Service <copybara-piper@google.com> | Mon Jul 09 08:43:19 2018 -0700 |
tree | 74a33191dd4dc6a00f6136d3a96e99ddf9ee7d46 | |
parent | 2f0033a6a314da8bf22eed6e08ef9d7cbb5d8ff1 [diff] |
Bazel server, tools: ensure Readers are closed Follow-up to commit 59f17d6e0550bf63a0b6ef182e2d63474e058ede. Use try-with-resources to ensure Reader objects are closed eagerly. Eagerly closing Readers avoids hanging on to file handles until the garbage collector finalizes the object, meaning Bazel on Windows (and other processes) can delete or mutate these files. Hopefully this avoids intermittent file deletion errors that sometimes occur on Windows. See https://github.com/bazelbuild/bazel/issues/5512 RELNOTES: none PiperOrigin-RevId: 203771262
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.