commit | 756e7a14e4767ef05492f5604c9d21d6b5047205 | [log] [tgz] |
---|---|---|
author | janakr <janakr@google.com> | Tue Mar 09 13:49:53 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Mar 09 13:50:56 2021 -0800 |
tree | 861fb1315714937c553cf61aa6eb8f41f81cc9f2 | |
parent | a6d35c33a15e5db455b67d338ef6939cfab0fe14 [diff] |
When loading a package, if an interrupted exception is thrown but an error was already encountered, suppress the interrupted exception in favor of the package-specific error: the error may be the one needed for error bubbling, while the interruption could just mean that we were interrupted during error bubbling. In the non-error-bubbling case, it's ~neutral to propagate the SkyFunction-specific exception instead of the InterruptedException: likely neither will be listened to, since the interrupt of a Skyframe thread indicates the threadpool is already shutting down. PiperOrigin-RevId: 361889324
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only 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