commit | abeb168f673799dbd750da952833a7c695585ea9 | [log] [tgz] |
---|---|---|
author | adonovan <adonovan@google.com> | Tue Aug 04 08:33:49 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Aug 04 08:34:54 2020 -0700 |
tree | 752e2d3344970dba9aa9357f31fdf6c35671d7bc | |
parent | a697df1866924702305de40c5e82bebc3b9e8da4 [diff] |
bazel syntax: include the Starlark stack in unhandled exceptions This will help pinpoint the expression that causes a crash in the interpreter. This applies to RuntimeException and StackOverflowError. Bazel sometimes expects a particular unchecked exception to transit the interpreter unchanged (e.g. MissingDepException). This is no longer true; explicit getCause calls are now required. Also, change tests not to assume a particular class of unchecked exception, and add tests of NPE and StackOverflow. PiperOrigin-RevId: 324817105
{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