commit | 1ad3b6cb44741f11bf94c8a7826a639a59c5fafa | [log] [tgz] |
---|---|---|
author | Fabian Meumertzheim <fabian@meumertzhe.im> | Thu Sep 29 06:20:47 2022 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Sep 29 06:22:06 2022 -0700 |
tree | 54f1e19545f493cc0531700c1ee744992e3593f0 | |
parent | de02e3f62598dbe8dcff68b4040f34da3322c720 [diff] |
Improve error message when DumpPlatformClassPath fails When JavacTools#create throws IllegalArgumentException, the likely cause is that the configured Java runtime is not a JDK or missing files, as is known to be the case with Homebrew installations. Rather than fail with a cryptic stack trace that only mentions `external/local_jdk`, print a descriptive error with the resolved path of the configured runtime's home directory. Fixes #15452 Closes #16346. PiperOrigin-RevId: 477708308 Change-Id: Ibe28a9d5debe633d1dadc0d4638da25fd324c5a6
{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:
To report a security issue, please email security@bazel.build with a description of the issue, the steps you took to create the issue, affected versions, and, if known, mitigations for the issue. Our vulnerability management team will respond within 3 working days of your email. If the issue is confirmed as a vulnerability, we will open a Security Advisory. This project follows a 90 day disclosure timeline.
See CONTRIBUTING.md